I am really in trouble.
I am using Website Payments Standard with a simple form submiting to the paypal url with the hidden vars. So it´s working nice. Paypal page shows properly. And after payment, when user clicks to return to the site, paypal sends by post all informations about the transaction. Researching on the internet and on paypal resources I have seen that var txn_id is the transaction id. So I am write this var on db to client knows what payment is related with the orders. So it´s happening two things: 1) Sometimes txn_id is not return from paypal to my return URL. 2) When it´s returned the txn_id is not the same of the transaction_id was sent by email on sandbox test email. I really don´t know what to do. I have researched very much but nothing found.Then what should I do next?
I am using Website Payments Standard with a simple form submiting to the paypal url with the hidden vars. So it´s working nice. Paypal page shows properly. And after payment, when user clicks to return to the site, paypal sends by post all informations about the transaction. Researching on the internet and on paypal resources I have seen that var txn_id is the transaction id. So I am write this var on db to client knows what payment is related with the orders. So it´s happening two things: 1) Sometimes txn_id is not return from paypal to my return URL. 2) When it´s returned the txn_id is not the same of the transaction_id was sent by email on sandbox test email. I really don´t know what to do. I have researched very much but nothing found.Then what should I do next?