Jump to content

Paypal payment method for ProcessWire shop


apeisa

Recommended Posts

I'm just testing the PayPal payment method, and when I click to return to the site from PayPal, Firefox gives me the following security message:

'Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party. Are you sure you want to continue sending this information?'

When the return page loads, it says 'error when validating your payment.'

The payment was in fact successful.

Just wondering if any kind person knows how I might avoid this.

Erm, use https? 

Link to comment
Share on other sites

I've just tried again using https, having set up ssl on my localhost as outlined here

http://webdevstudios.com/2013/05/24/how-to-set-up-ssl-with-osx-mountain-lions-built-in-apache/

I no longer get the security message, but the return page still says 'error when validating your payment.'

Edit:

Paypal's IPN is returning 'INVALID'

Is it possible that the problem comes from using a self-signed certificate?

Link to comment
Share on other sites

  • 3 months later...

Hi. I installed ShoppingCart module and i wanted to use PayPal payment. I installed module but i can't use it. I tried also on fresh installation of PW. Checkout works but PayPal payment dont work. Simple Invoice Payment works fine but PayPal payment dont even generate order. You can check it here: http://demo.webego.pl/pwshop/about/background/ Do you have any ideas what is going on? Thans in advance.

Link to comment
Share on other sites

  • 6 years later...

a bit late to the party here… hello everyone.

I'm currently building or I just built a custom checkout flow from scratch, mostly frontend with automatic order and confirmation email.

I also integrated a paypal button following the tutorials from paypal.com. This kinda works but it's also the only thing that doesn't quite yet work. I still need to figure out how to get the shipping and billing address from paypal so I can include it in the order and confirmation email, because in the checkout flow the address form is presented only for payment methods other than paypal (the reason being that paypal already stores these details in the user's account).

So apparently I need to use the IPN functionality from paypal and parse that notification, also send it back unparsed, wait for a validation, check the ID and whatnot, all that good stuff.

I'm not sure what this module here actually help with. Can it do the IPN handling? I went through the source code on github but it's still not clear to me. Any more suggestions or should I keep writing from scratch at this point? – also learned about padloper just now ?? so maybe next time I give this one a shot.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...