HomeHome Product Discus... Product Discus...SmithCartSmithCartbad return url / paypal standardbad return url / paypal standard
Previous
 
Next
New Post
3/13/2012 9:26 AM
 

We're running a v04.93.00 store on DNN v6.1.3. It's using both PayPal STD and PRO for payments.

The problem is that when checking out with STD and going to PayPal to pay, the return URL is incorrect and throws an error when the customer comes back.

It should be something like this - https://www.mydomain.com/BuyNow/tabid...

But instead they are sent back to this - https://buynow/tabid/62/ctl/Confirm/m...

Notice that the domain name is missing. Also notice that the control being specified is different.

Could I get verification of the breaking change, and confirmation of a fix? 

 
New Post
3/14/2012 2:40 PM
 

Hello,

Please see the following steps for configuring the PayPal Standard return url:

  1. Make sure you are using a PayPal business account.
  2. Go to the PayPal website and login to your business account.
  3. Select Profile menu (Click on Profile link)
  4. Under Selling preferences, select website Payment Preferences
  5. Click the “Auto Return” radio button to “On”
  6. Enter the “Return URL” of your website confirm page


The return URL you need to enter at PayPal is the url of the Confirm page of checkout.

For Example:
http://wwwyourdomain.com/Home/tabid/55/ctl/Confirm/mid/439/Default.aspx

 

Thanks,

 
New Post
3/20/2012 6:55 AM
 
Kevin wrote:

The return URL you need to enter at PayPal is the url of the Confirm page of checkout.

For Example:
http://wwwyourdomain.com/Home/tabid/55/ctl/Confirm/mid/439/Default.aspx

 

Thanks,

Kevin - in the above example you give:

* is tabid the tabid of the shopping cart?
* is mid the moduleid of the shopping cart?

 
New Post
3/21/2012 7:03 PM
 
Hello,

You can determine the correct Confirm page URL by setting your Payment Gateway to the Manual option, then going through the checkout process.

When you reach the Confirmation page copy the URL in your browser's address bar.

Thanks,
 
New Post
4/6/2012 1:17 PM
 

SmithCart is including a value for the Return URL when it submits to PayPal, so PayPal is only redirecting to where it's instructed by the cart.

The cart is sending a bad URL that is missing the portal alias. In other words what should be a return url of

https://www.mysite.com/buynow/tabid/62/ctl/Confirm/mid/381/Default.aspx?PayPal=Success

is instead sent to PayPal as

https://buynow/tabid/62/ctl/Confirm/mid/381/Default.aspx?PayPal=Success

 
New Post
4/9/2012 1:57 PM
 

Hello,

The return URL the Cart sends to PayPal when sending the payment request (the URL sent to PayPal contains the 'return' and 'cancel_return' parameter), is how PayPal knows where to redirect the user after after he clicks on the return link.


So you must only turn on the auto return URL in the PayPal preferences. See the following link for instructions for configuring it: https://www.paypal.com/cgi-bin/webscr....

Thanks,

 
New Post
4/10/2012 6:45 PM
 

If Auto Return is set to ON, a Return URL is REQUIRED by PayPal.

PayPal confirmed that when a cart sets the URL (like SmithCart does), it overrides any value set for the Return URL in PayPal settings anyway.

 
New Post
4/10/2012 8:03 PM
 
Hello,

Have you configured the Return URL at PayPal to test this?

I just tested the return from PayPal on my test portal and after configuring the Return URL at PayPal was able to successfully return to the Cart without any issue.

Can you login to our test site and try to replicate the issue you are reporting. This will determine if the issue is with the latest version of the Cart or an issue with your specific DNN portal/Cart install. For login credentials, please send an email with a link to this post to support@smith-consulting.com

Thanks,
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartbad return url / paypal standardbad return url / paypal standard