Download the PHP package amazonpaymentservices/aps-php-sdk without Composer
On this page you can find all versions of the php package amazonpaymentservices/aps-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download amazonpaymentservices/aps-php-sdk
More information about amazonpaymentservices/aps-php-sdk
Files in amazonpaymentservices/aps-php-sdk
Package aps-php-sdk
Short Description Amazon Payment Services PHP SDK
License MIT
Informations about the package aps-php-sdk
Amazon Payment Services PHP SDK
Amazon Payment Services SDK offers seamless payments for PHP platform merchants. If you don't have an APS account click here to sign up for Amazon Payment Services account.
Getting Started
We know that payment processing is critical to your business. With this plugin we aim to increase your payment processing capabilities. Do you have a business-critical questions? View our quick reference documentation for key insights covering payment acceptance, integration, and reporting. For SDK Guide refer wiki
Payment Options
-
Integration Types
- Redirection
- Merchant Page
- Hosted Merchant Page
- Apple Pay
- Installments
- Recurring
- MOTO
- Trusted
- Maintenance Operations
- Signature Calculation and Validation
- Refund
- Capture
- Void
- Check Status
- Feedback Notification handling
Integrations steps
Install PHP SDK Package
Install the PHP SDK Package of your solution with composer or download it from the GitHub repository and then run the composer update command in terminal to install all the dependencies.
Merchant configuration
As a merchant you need to send to the gateway some properties. These properties must be put into an array and set with the following method. If you want integration with Apple Pay all the properties that contains "Apple_" must be added, otherwise those properties are not required.
Properties sample
All the merchant configuration properties
Payment data configuration
As a merchant you need to send to the gateway the payment details. These details must be put into an array and set within the "setPaymentData" method below. The "merchant_reference" is the customer order number.
You can see below how the credit card redirect payment method issued. Payment data is set with the payment details, then set the authorization/purchase command, set your callback URL and render the information needed for your client page.
Sample
Standard Checkout
The class for Standard Checkout payment option is called "CCStandard". This class can be used for Authorization or for Purchase command. For example, see the code below.
Sample
Custom Checkout
The class for Custom Checkout payment option is called "CCCustom". This class can be used for Authorization or for Purchase command. For example, see the code below.
Sample
Changelog
Plugin Version | Release Notes |
---|---|
2.0.0 | Integrated checkout experience options: Redirection, Merchant Page, Hosted Merchant Page, Apple Pay, Installments, Recurring, MOTO, Trusted Partial/Full Refund, Single/Multiple Capture and Void events Signature calculation and validation Check Status as a function Feedback notification handling |
API Documentation
This SDK has been implemented by using following API library
Further Questions
Have any questions? Just get in touch
License
Released under the MIT License.
All versions of aps-php-sdk with dependencies
php Version ^8.1
ext-openssl Version *
psr/log Version ^3.0
ext-curl Version *