Download the PHP package vecera/gpwebpay without Composer
On this page you can find all versions of the php package vecera/gpwebpay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package gpwebpay
GPWebPay interface
GPWebPay is a PHP library for online payments via GPWebPay service
If your are using Nette framework, you may want Pixidos/GPWebPay Nette extension instead.
Quickstart
Set up & usage
Troubleshooting
Almost all possible error cases are covered clearly by many of exceptions, but some are so nasty so they can not be:
- after sending a request to GP WebPay you see just a logo and HTTP response code is 401
- probably the URL for response you provided to GP WebPay in URL parameter is not valid in the point of view of GP WebPay
- ensure that URL exists and there is NO redirection, like https://www.github.com to https://github.com/ with trailing slash (don't believe your eyes in a browser address bar, the trailing slash is often hidden there)
- probably the URL for response you provided to GP WebPay in URL parameter is not valid in the point of view of GP WebPay
For tests against testing payment gateway you can use payment card
- Card number:
4056070000000008
- Card valdity:
12/2020
- CVC2:
200
- 3D Secure password:
password
Installation
(requires PHP 7.0+)
Credits
This library originates from Pixidos/GPWebPay library, which has same functionality but can be used only as a Nette framework extension. All credits belongs to the author Ondra Votava from Pixidos.
Nevertheless I am grateful to him for sharing that library publicly. Please more of such people.
All versions of gpwebpay with dependencies
ext-intl Version *
alcohol/iso4217 Version ^3.1
granam/strict-object Version >=3.0
granam/integer Version >=6.1
granam/float Version >=5.0
granam/string Version >=4.0
phpgt/dom Version *