- Download the repository to your computer. or
composer require yomalilabs/cartgateway-merchant
composer install
- Head over to the
/examples
directory to see the usage of the requests.
You can trigger a hosted checkout request that will create the session and store the checkout. The response will include an url to redirect the client to that will be used to enter the card information. On success the client will be redirected back to the specified success url to validate the payment. The merchant will then do a validate hosted checkout request to authorize the payment was indeed a success at CartGateway.
You can trigger and validate hosted checkout request with the payment_id.
- Charge Payment (sale)
- Authorize Payment
- Capture Authorized Payment
- Refund Payment
- Void Payment
- Lookup Payment Information
OK (100 tests, 225 assertions)