Welcome Guest, Not a member yet? Register   Sign In
add paypal as library
#2

(This post was last modified: 08-23-2020, 09:02 AM by jreklund.)

There are no need to implement it in CodeIgniter itself, just use their own PHP SDK:
https://github.com/paypal/Checkout-PHP-SDK
https://developer.paypal.com/docs/checko...setup-sdk/

https://developer.paypal.com/docs/checkout/

Code:
// Just remove this line from all their example:
require __DIR__ . '/vendor/autoload.php';

// And add \ in front of all their use
use \Sample\PayPalClient;
use \PayPalCheckoutSdk\Orders\OrdersGetRequest;
Reply


Messages In This Thread
add paypal as library - by pws - 08-22-2020, 05:35 AM
RE: add paypal as library - by jreklund - 08-22-2020, 05:42 AM
RE: add paypal as library - by pws - 08-23-2020, 08:04 AM
RE: add paypal as library - by jreklund - 08-23-2020, 09:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB