Download the PHP package drechsler-development/wordpress-paypal-client without Composer
On this page you can find all versions of the php package drechsler-development/wordpress-paypal-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download drechsler-development/wordpress-paypal-client
More information about drechsler-development/wordpress-paypal-client
Files in drechsler-development/wordpress-paypal-client
Package wordpress-paypal-client
Short Description A simple PayPal client for WordPress
License proprietary
Informations about the package wordpress-paypal-client
(Wordpress) PayPal Client
This PayPal Client can be used to integrate PayPal into your WordPress website. Of course it can be used for other purposes as well, but it was firstly developed with the intention to be used for a WordPress website. It is just simplify the way of the integration already provided in the official PayPal Package
Dependencies
This package requires other packages as below:
- drechsler-development/class-library
- paypal/paypal-checkout-sdk
Usage
It can simply be used using composer as below:
composer require drechsler-development/wordpress-paypal-client
Or if you prefer a composer.json file add the project name in the require segment as below:
{
"require": {
"drechsler-development/wordpress-paypal-client": "v1.*"
}
}
Create an Order
Assuming you have all necassary variables (and apropriate values) somewhere caught in your script already, you only need to pass it to the appropriate method(s). Required variables are:
`` In this example I am using the file ajax.php and call it via a POST request from another script via JavaScript/jQuery or whatever you are prefer.
``
All versions of wordpress-paypal-client with dependencies
phpmailer/phpmailer Version ^v6.6.0
monolog/monolog Version ^2.6
paypal/paypal-checkout-sdk Version *
ext-json Version *
ext-pdo Version *
ext-curl Version *
ext-gd Version *
ext-fileinfo Version *
ext-exif Version *
ext-bcmath Version *
ext-zip Version *
ext-zlib Version *
ext-ftp Version *
ext-mbstring Version *
ext-ctype Version *
ext-simplexml Version *
ext-mysqli Version *
ext-imap Version *
ext-soap Version *