Download the PHP package becopay/invoice_sdk_php without Composer
On this page you can find all versions of the php package becopay/invoice_sdk_php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download becopay/invoice_sdk_php
More information about becopay/invoice_sdk_php
Files in becopay/invoice_sdk_php
Package invoice_sdk_php
Short Description Becopay payment gateway api php library
License Apache-2.0
Homepage https://becopay.com/en/io
Informations about the package invoice_sdk_php
Becopay Payment Gateway
This is php library for becopay payment gateway
"php": ">=5.3.0"
Installing
Pull this package via Composer.
or run in terminal:
Usage
Create Class
First use the library with this namespace use Becopay\PaymentGateway;
.
for getting the constructor parameters, you first need to register on becopay website(register now)
If invalid data type class is entered throw an exception.
Create payment redirect url
For creating the payment gateway url, use create()
method.
Type of parameter value must be string.
If invalid data type class is entered throw an exception.
If response is successful it will return object and if not, it will return false
$payment->error
return the error message
Response
Check invoice status with invoiceId
For checking the invoice status you can use check()
method.
If invalid data type is entered, throw an exception
If response is successful it will return object and if not, it will return false
$payment->error
return the error message
Function parameter
Response
Check invoice status with orderId
For checking the invoice status with your orderId, you can use checkByOrderId()
method.
If invalid data type is entered, throw an exception
If response is successful it will return object and if not, it will return false
$payment->error
return the error message
Function parameter
Response
License
This package is open-source software licensed under the Apache License 2.0
Contact
For any questions, bugs, suggestions or feature requests, please use the Github issue system or submit a pull request. When submitting an issue, always provide a detailed explanation of your problem with any response or feedback you get. Log those messages that might be relevant or a code example that demonstrates the problem. If none of this is available, we will most likely not be able to help you with your problem. Please review the contribution guidelines before submitting your issue or pull request.
For any other question, feel free to use the credentials listed below:
- Email: [email protected]