Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi to all,
I am implementing payment through paypal , The url for which I am trying to pay is http://www.hoteltajresorts.com/orderform.aspx and I have also set the return url after cancelation
Like this http://www.hoteltajresorts.com/orderform.aspx?PayPal=Cancel
And after successful payment it should return url like http://www.hoteltajresorts.com/orderform.aspx?PayPal=Success
On cancelation it is returning the correct url, but after payment it remains on the paypal site and appears a button to return at my original site. When I click the button it returns to my original site but it is returning the wrong query string
It is returning the following url http://www.hoteltajresorts.com/orderform.aspx?merchant_return_link=Return+to+Taj+Resorts+India+Pvt.+Lt And because of this I am not able to provide any confirmation message for payment.
Plz tell me the solution I am trying to solve it since the last 5 days,but not getting the success....
Posted
Comments
Sandeep Mewara 1-Sep-10 15:57pm    
1. If you think it's a Paypal issue then you should talk to them.
2. If it's an issue at your end you should see when and how do you set the return querystring.
khalid mehmood 2-Sep-10 6:55am    
Hi,
I am sure you will be working in paypal sandbox mode.
there can be some issue with the configurations of credentials, i will recommend to use sample code and put your sandbox credentials and test that code.
after successful attempt you can attempt integration to your website
to start please check
https://www.paypal-labs.com/integrationwizard/ecpaypal/main.php

regards,
Khalid
Simon_Whale 3-Sep-10 4:43am    
I would check your return URLS as you define these not paypal

You should create two different page one for successful order and other for cancel order.
 
Share this answer
 
Comments
Dalek Dave 26-Oct-10 3:44am    
Fair Comment.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900