Reply
Vanndy Member
Member
Posts: 1
Kudos: 0
Accepted Solutions: 0

Return Transaction Number with public IP

[ Edited ]

Hi PayPal Community,

 

I put my testing site on public IP for testing with buy/sale by PayPal.

 

After I click "pay now" button, my payment process is success. But auto return will link to : public_ip/testing/success.php only; not like this example : public_ip/testing/success.php?tx=270233304D340491B&st=Completed&amt=22.00&cc=USD&cm=&item_number=1

 

What's the problem with it? I want to return to success.php with all item above after payment sucess.

 

Kind Regards,

Vanndy

0 Kudos
Highlighted
Administrator PayPal_Frank
Administrator
Posts: 1324
Kudos: 113
Accepted Solutions: 35

Re: Return Transaction Number with public IP

Hi Vanndy,

 

Welcome! Smiley Happy

 

It sounds like you are referring to Payment Data Transfer (PDT).  You'll want to make sure this is turned on in your profile settings.

 

This setting can be found by clicking the Profile  link located in the white bar under the blue tabs.  You can click on Profile itself or More Options in the drop down menu.

 

Next click on My Selling Tools, then look for the Website Preferences setting.  Click Update to the right.

 

On the next page, make sure that both Auto Return and Payment Data Transfer are turned on.

 

Then when the customer is redirected to your return URL, PayPal will send the transaction ID as an HTTP GET which will append the transaction ID to the URL.  Your web page will need to send the transaction ID and your PDT token back as an HTTP POST.  The PayPal servers will then respond with the payment information.

 

More info on PDT here:  Payment Data Transfer

 

I hope this helps! Smiley Happy

 

- Frank

 

If you see a helpful post, please accept it as a solution or give the author kudos. Smiley Happy Thanks!
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
1