Paypal gateway ppcrypto file


(Tim Trodd) #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 Banda) #2

See Luke’s comment from PPCrypto.php where to download?

Does that help?


(Tim Trodd) #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 Banda) #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


(Tim Trodd) #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


(Luke Wright) #7

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.


Using a PayPal Payment Gateway - Encryption Library Path
(Tim Trodd) #8

Excellent, thanks for the info Luke!

Tim