Forum Moderators: phranque
I am running a website that uses a shopping cart that is integrated with PayPal. The problem I am having now is that I already have my PayPal Successful Payment URL pointing to a final processing page of the shopping cart.
My question is: How do I make a donation button WITHOUT forwarding the users to the shopping cart after they are done donating their funds? I don't want them to get redirected back to the store, but I don't see an option on PayPal to make another Successful Payment URL. It looks like I have to use the one going back to the cart.
Any thoughts?
Thanks,
Christian
You should be able to specify the "return" url in the button or form itself before sending over to payPal. Something like
<form method="post" action="[payPal URL]">
<input type="hidden" name="return" value="http://www.yoursite.com/your_custom_return.html">
.........
<input type="submit" value="Continue to Payment">
</form>
It may differ for an image button, but it should be in the documentation on how to do this.
item price
item quantity
return url
I'd say no, there's probably no reason to encrypt that. But . . .
payer_email
You may want to consider what consequences might arise if this falls into the wrong hands. Probably little to none.
Any CC info or personal customer info you're collecting this on the site over SSL and sending to P.P., absolutely, positively, use all security methods available (but it doesn't sound like you are.)
In any case, if the encryption is not working, it's probably something you are overlooking, it wouldn't hurt to figure out why it stopped working when encrypted.
Since this is a donation button, everything is done over PayPal's secure site. No CC info is ever put onto my site, etc...I just have the button to go directly to PayPal.
Thanks for the info!