ttrodd
(Tim Trodd)
June 19, 2017, 10:24am
1
Hi all,
Trying to setup a paypal payment gateway following this manual but can’t seem to find the ppcrypto file anywhere on the paypal developer site.
https://matrix.squiz.net/manuals/e-commerce/chapters/paypal-payment-gateway
I searched through this forum where others found it but all the links to it are now invalid/broken (404).
Does anyone know a valid working link to it or where I can find it on the paypal developer site?
Cheers,
Tim
Bart
(Bart Banda)
June 20, 2017, 9:32am
2
See Luke’s comment from PPCrypto.php where to download? - #4 by Luke_Wright
The PPCrypto.php file is indeed available on the PayPal site, but not by itself - they provide it as part of the Website Payments Standard Toolkit . Download and extract the ZIP file for PHP, and you’ll find it in the “lib” subdirectory.
Does that help?
ttrodd
(Tim Trodd)
June 20, 2017, 9:41am
3
Its weird I looked on that site and on Github for the payments standard toolkit but can’t find it in the lib sub directory.
Bart
(Bart Banda)
June 20, 2017, 9:53am
4
Weird, can’t find it either actually. I did manage to find a PPCrypto file copy here though: https://github.com/wp-plugins/events-made-easy/blob/master/payment_gateways/paypal/crypt/PPCrypto.php
I’m assuming it’s the same file.
I wonder if this has been deprecated completely by paypal?
Or maybe you need to get it from here? https://www.paypal.com/au/webapps/mpp/website-payments-standard
ttrodd
(Tim Trodd)
June 20, 2017, 10:08am
5
Thanks Bart. It is strange I’ll contact Paypal and see what they say. Ill use the github file you linked to for now.
Thanks
Tim
Hi Tim,
If you saw my initial post, please ignore.
In this case, the Matrix documentation for the PayPal gateway is a little out-of-date, if you have version 5.1 (or 5.0.1.2) or newer - for instance, you may notice that there’s no need to enter the path to PPCrypto.php in the PayPal Configuration asset anymore.
According to Squizmap #5394 , the function provided by PPCrypto was merged into Matrix’s PayPal Button asset in version 5.1, so you no longer need the old PPCrypto.php file anymore.
Hope this helps.
ttrodd
(Tim Trodd)
August 4, 2017, 8:49am
8
Excellent, thanks for the info Luke!
Tim