I want to Integrate 2Checkout as payment gateway with my application. I am not very much aware about 2Checkout payment gateway. Already I have a script for Integrating 2Checkout as payment gateway as below:
This script doesn’t take any return value for returning to the “congratulation page” after successfull payment like paypal. Payment error page is also missing.
2: Is anybody here who can provide a better script for 2Checkout which will take “return value” and “cancel return page” as hidden value along with payment description.
After logging in, click on “Account Details” > “Returns”
For “Return to a routine on your site after credit card processed?”, select “Yes”.
Then, simply enter the Return URL in the field provided. As for the payment error page, 2CO will automatically do this for you if the user’s payment is declined.
Thank you for your reply. Now it’s quite clear to me. But I have a question as follows:
1: I want to return some value with return url. As for example ‘X’ want to purchase some product and his userid is 22. Now I want to send this userid to 2checkout.com as hidden value during checkout and after successfull payment it returns to my site along with that userid ( userid of ‘X’).
It is my form content. Whenever I submit this form 2checkout showing some error “Parameter Error”. I can’t understand the reson behind it. Because those paramenters in my form are mandatory except “demo”.