Add To Cart and Return after payment.

WebAlterations
New Community Member

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

Login to Me Too
1 REPLY 1

Misty11
Advisor
Advisor

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




Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.