Getting transaction details

shanthini
Contributor
Contributor

I am using paypal IPN. Tested the integration by using credit card option (not using buyer account). This is working fine. After successful payment I am getting the transaction id in query string (as http://www.xxx.com/success/?amt=18.00&cc=USD&st=Completed&tx=61P53967MP376781N).  But if I try to get the transaction id as a post variable this is not working. I used both $_POST["tx"] and $_POST["txn_id"] but they return only empty value.

Please suggest

  • Can we get the transaction id using POST method
  • Also after successful payment (using credit card) couldn't get mails. Can we get mails in paypal sandbox

Thanks

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

MTS_Stefan
Moderator
Moderator
Hi @shanthini,

You can view your emails, sent to sandbox test accounts, on the developer portal.
https://developer.paypal.com/developer/notifications/

View solution in original post

Login to Me Too
1 REPLY 1
Solved

MTS_Stefan
Moderator
Moderator
Hi @shanthini,

You can view your emails, sent to sandbox test accounts, on the developer portal.
https://developer.paypal.com/developer/notifications/
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.