Forums

Getting response of paypal transaction

mayajoshi 14 Feb, 2012
Hi GreyHead,

I am using chronoforms v4 in my joomla 1.7 version. I am using Paypal redirect(trial) in onsubmit action and it will work great! payment has been completed successfully. But my query is how to save transaction details from response. I have set return url to payment.php file which I have created but getting blank post array. How to get response from return url?

Please help me out to figure out this.

Kind Regards,
Maya
mayajoshi 15 Feb, 2012
Hi GreyHead,

I have read you post from here:http://www.chronoengine.com/forums.html?cont=posts&f=2&t=63608&p=261076&hilit=paypal#p261076 and followed the same steps upto redirect user to on submit event.

But getting this error on paypal. Err: This transaction is invalid. Please return to the recipient's website to complete your transaction using their regular checkout flow.

My paypal account details, user, password and signature are correct. added target url :https://www.sandbox.paypal.com/cgi-bin/webscr to redirect user.

rest code after returning back is need to add. Can you please tell me where I am wrong.

Regards,
Maya
GreyHead 15 Feb, 2012
Hi Maya,

Do you have a PayPal Sandbox account? If not you'll need to set one up to use the SandBox to develop your form. You can develop on a live account - to do that you need to use the live URL.

Bob
mayajoshi 16 Feb, 2012
Hi GreyHead,

Thanks for your reply but I figured it out and got the issue that I was passing return url in encoded format which was causing issue. Now its working like a charm! I am getting token and payerid and transaction has been performed successfully.

Great tutorial you have posted.. 🙂

Kind Regards,
Maya
GreyHead 16 Feb, 2012
Hi Maya,

Good to hear that it's working, thank you.

Bob
This topic is locked and no more replies can be posted.