Download the PHP package promptpay/promptpaymentsapi without Composer
On this page you can find all versions of the php package promptpay/promptpaymentsapi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download promptpay/promptpaymentsapi
More information about promptpay/promptpaymentsapi
Files in promptpay/promptpaymentsapi
Package promptpaymentsapi
Short Description All requests to the Prompt Pay API are sent via the HTTP POST method to one of our API endpoint URLs. HTTP Request Method : POST API Endpoint : http://promptpayments.io/payment/process JSON Content-Type : application/json All calls to the Prompt Pay API require merchant authentication and merchant access key. Sign up for a account to quickly get started. Sandbox payment can be also initiated while merchant set the service mode as test in merchant dashboard. It will be live while the mode will be set as active mode.
License MIT
Homepage http://promptpayments.io/api-documentation
Informations about the package promptpaymentsapi
Promptpay-PHP-SDK
Download Via Composer
Prompt Pay Express Payment Gateway Documentation
API Credencials
To get your API Credentials Signup as a merchant https://promptpayments.io/register -> Merchants
-> New Merchant
Type -> Express
Payer
If payer wants to fund payments using Prompt Pay, set payer to Prompt Pay. (Other payment method ex: paypal, stripe, coinpayments etc not available yet).
Amount
Specify a payment amount and the currency.
Transaction
It’s a Transaction resource where amount object has to set.
RedirectUrls
Set the urls where buyer should redirect after transaction is completed or cancelled.
payment
It’s a payment resource where all Payer, Amount, RedirectUrls and Credentials of merchant (Client ID and Client Secret) have to set. After initialized into payment object, need to call create method. It will generate a redirect URL. Users have to redirect into this URL to complete the transaction.
Example importing
Refer to the example file
All versions of promptpaymentsapi with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
apimatic/unirest-php Version ^3.0.1
apimatic/jsonmapper Version ^3.0.4