Can I use this module to post to Paypal?

Comments

enrique.delgado’s picture

Hmm, I'm not sure. It's possible to take a Paypal-generated form, look at the fields it has and re-create them in Webform. I would use mostly hidden fields for anything you don't people to snoop into with a browser inspector. Then you could use this module to send the data to an external URL (paypal in this case). It depends on what Paypal is expecting tho. Also, you may want to consider SSL and securing your form as well.

jessicakoh’s picture

I'm testing from a local host. Doesn't seem to get through.

Here is the error message

A remote (x-www-form-urlencoded) post to https://www.sandbox.paypal.com/cgi-bin/webscr by webform node ID 52 returned a '400' code, which is a different HTTP response code than expected. Please make sure that the remote post URL is correct in the Remote Posts webform settings, and that the post was received in the remote system.