Laravel 5 Paypal API Demo

Some notes for a demo done on localhost for Laravel 5 Paypal API.


Packages and Payment Technical Planning

Laravel Paypal package?
/xroot/laravel-paypalpayment > RUBBISH
/Payum/PayumLaravelPackage > doesn’t support L5
/net-shell/laravel-paypal > has a cannot find Paypal error (forked from xroot)

Using Paypal REST API SDK Directly

Paypal Developer Playground:
Paypal API Docs basics:

Possible Reasons for failing:

  • total amount is wrong (not correct)


  • update store name
  • why do items on transactions page say “pending” when the funds have already come out!?
  • Error log complaining about certificate, does it need SSL to execute the payment?

[04-05-2015 07:41:08] PayPal\Core\PayPalHttpConnection: INFO : POST
[04-05-2015 07:41:09] PayPal\Core\PayPalHttpConnection: INFO : Invalid or no certificate authority found – Retrying using bundled CA certs file
[04-05-2015 07:41:11] PayPal\Core\PayPalHttpConnection: INFO : Response Status : 200

Sam Deering is a web developer from England (currently living in Australia). In his spare time he enjoys coding, playing chess, reading and investing.

Leave a Reply

Your email address will not be published. Required fields are marked *