Download the PHP package aggreg82r/pay without Composer
On this page you can find all versions of the php package aggreg82r/pay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download aggreg82r/pay
More information about aggreg82r/pay
Files in aggreg82r/pay
Informations about the package pay
Aggreg82r Pay
PHP SDK for calling the checkout method of Aggreg82r.com
Requirements
- cURL
- PHP >7.3
Installation
Usage
- Create your form
Required fields
- payment_gateway (string) - Intended payment gateway
- recurring (boolean) - If this is a recurring payment of not
- reference (string) - Your reference code for this transaction, this is important to map out in your system the customer who made for this transaction
- name (string) - The description in the checkout form of the chosen payment gateway
- amount (string) - The total amount
- currency (string) - Intended currency to bill your customer
-
Grab the form post data and do CHECKOUT
- Once your customer has filled their credit card details, it will go back to your
success_url
you defined in your credential dashboard at https://aggreg82r.com
Not PHP? No Problem. Try curl
-
Your backend should request for the token first and save it to be used in Step 2.
-
Your html form above should post in your backend. Then, once you collected the data from the frontend post it to aggreg82r.com
- Done.
This will redirect to the intended payment gateway for your customer to input their credit card number. Once they have finished, they will be redirected back to the
success_url
you set in your credential dashboard at https://aggreg82r.com
All versions of pay with dependencies
php Version ^7.3|^8.0