CodeIgniter Forums
Codeigniter 3 and Amazon Pay SDK - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Codeigniter 3 and Amazon Pay SDK (/showthread.php?tid=75505)



Codeigniter 3 and Amazon Pay SDK - simoon - 02-13-2020

Hi,

has someone a code examplet how to implement the Amazon Pay SDK (or any other AMZ SDK) with CI 3. I can't get it working and i did not find any example done with CI.

Thanks for helping.
Best regards.
Alex


RE: Codeigniter 3 and Amazon Pay SDK - albertleao - 02-13-2020

I've implemented the Amazon SDK with CI3. There's no special coding required to use it in CI.

Just make sure you install the aws sdk via composer and then you'll have access to the libraries as they have it in their php docs. You can copy their examples word for word into one of your controllers and it will work.


RE: Codeigniter 3 and Amazon Pay SDK - simoon - 02-14-2020

(02-13-2020, 11:09 AM)albertleao Wrote: I've implemented the Amazon SDK with CI3. There's no special coding required to use it in CI.

Just make sure you install the aws sdk via composer and then you'll have access to the libraries as they  have it in their php docs. You can copy their examples word for word into one of your controllers and it will work.

ok, you are right,but there is no full example of one payment, so its a bit hard to figure out how that should work, on the other apis they have example codes, on this it seemes not, or i did not find them.


RE: Codeigniter 3 and Amazon Pay SDK - albertleao - 02-14-2020

There is a full example in the amazon github repo here:

https://github.com/amzn/amazon-pay-sdk-php