Welcome Guest, Not a member yet? Register   Sign In
Paypal confusion
#5

[eluser]adamp1[/eluser]
I just used the one off the wiki, worked fine. Make sure you check the updates posted on the wiki and make the changes in the code. The updates are due to a misunderstanding of $this->input->post works.

It says right in the PayPal Variable documentation:
Quote:Return URL behavior. If set to "1" and if a "return" value is submitted, upon completion of the payment the buyer will be sent back to the return URL using a GET method, and no transaction variables will be submitted. If set to "2" and if a "return" value is submitted, the buyer will be sent back to the return URL using a POST method, to which all available transaction variables will also be posted. If omitted or set to "0", GET methods will be used for all Subscriptions transactions and Buy Now, Donations, or PayPal Shopping Cart transactions in which IPN is not enabled. POST methods with variables will be used for the rest.

So to your paypal form you need to add a field
Code:
<input type="hidden" name="rm" value="2">

That will return the data in POST form.

I would advice you go and read the documentation in the Integration Center before continuing. There is all the information you need there to setup PayPal transactions.


Messages In This Thread
Paypal confusion - by El Forum - 03-05-2008, 02:02 PM
Paypal confusion - by El Forum - 03-05-2008, 02:56 PM
Paypal confusion - by El Forum - 03-06-2008, 02:07 AM
Paypal confusion - by El Forum - 03-06-2008, 07:38 AM
Paypal confusion - by El Forum - 03-06-2008, 10:24 AM
Paypal confusion - by El Forum - 03-06-2008, 10:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB