Reply to topic
Highlighted
WebAlterations New Community Member
New Community Member
Posts: 1
Kudos: 0
Accepted Solutions: 0

Add To Cart and Return after payment.

I have a simple add to cart button:

 

buttons are basically:

 


<input type="hidden" name="cmd" value="_xclick">

<input type="hidden" name="item_name" value="Invoice Payment">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://domain/payment_success">
<input type="hidden" name="cancel_return" value="http://domain/payment_canceled">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-BuyNowBF">

Customer / Account Number:<input type="text" name="item_number">

Payment Amount:</td><td><input type="text" name="amount" value="0.00">

 



 

 

 

 

<input name="submit" type="image" src="https://sandbox.paypal.com/en_US/i/btn/x-click-but03.gif" alt="Make payments with PayPal - it's fast, free and secure!" border="0">

 

 

 

and all that is fine..  it takes the user to paypal, and they can process payment.

 

when they return to the site,  want it to display someting like.

 

-------------

Thanks for the payment.

Paid ~amount~ for customer ~item_number~ on ~date~

---------------

where amount and item_number came from the paypal payment.

 

is this at all possible

0 Kudos
Administrator PayPal_Misty
Administrator
Posts: 2060
Kudos: 92
Accepted Solutions: 26

Re: Add To Cart and Return after payment.

Hello WebAlterations,

 

Welcome to the Forums.

 

You have very good questions, however PayPal does have a Developer Forum that would be able to better answer your questions. Here is a direct link. I hope this will help.

 

Smiley HappyMisty




0 Kudos
Announcements
If you are using Internet Explorer 8 take note. We’ll upgrade our communities in July and if you are using IE8 you won’t have a fully functional experience. Please upgrade your browser to Internet Explorer 9, 10 or 11. There will be no changes to your community experience if you are using IE 9, 10, 11, Chrome, Firefox or Safari.
Welcome, guest
Top Kudoed Authors
User Kudos Count
1