Download the PHP package pomelopay/pomelopay-connect-php without Composer
On this page you can find all versions of the php package pomelopay/pomelopay-connect-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pomelopay/pomelopay-connect-php
More information about pomelopay/pomelopay-connect-php
Files in pomelopay/pomelopay-connect-php
Package pomelopay-connect-php
Short Description PHP Bindings for the Pomelo Pay Connect API
License MIT
Informations about the package pomelopay-connect-php
PomeloPayConnectPHP
PHP API Client and bindings for the Pomelo Pay Connect API
Using this PHP API Client you can interact with your Pomelo Pay Connect API:
- 💳 Transactions
Installation
Requires PHP 7.2.5 or higher
The recommended way to install pomelopay-connect-php is through Composer:
First, install Composer:
Next, install the latest pomelopay-connect-php:
Finally, you need to require the library in your PHP application:
Development
- Run
composer test
andcomposer phpcs
before creating a PR to detect any obvious issues. - Please create issues for this specific API Binding under the issues section.
- Contact Pomelo Pay directly for Pomelo Pay Connect API support.
Quick Start
PomeloPayConnect\Client
First get your production
or sandbox
API key from your Dashboard.
If you want to get a production
client:
If you want to get a sandbox
client:
If you want to pass additional GuzzleHTTP options:
If you want to pass a custom base URL:
Available API Operations
The following exposed API operations from the Pomelo Pay Connect API are available using the API Client.
See below for more details about each resource.
💳 Transactions
Create a new transaction with or without a specific payment method.
Usage details
💳 Transactions
Create transaction with a specific payment method
Create transaction without a payment method that will redirect to the payment method selection screen
Create transaction without a payment method with your own localId that will redirect to the payment method selection screen
Create transaction without a payment method with your own localId that will redirect to the payment method selection screen and also sends a webhook for this specific transaction
Create transaction without a payment method with your own localId that will redirect to the payment method selection screen and also sends a webhook for this specific transaction. Furthermore expire this payment link automatically after 3 hours.
About
⭐ Sign up as a merchant at https://dashboard.pomelopay.com and start receiving payments in seconds.