HomeHome Product Discus... Product Discus...SmithCartSmithCartPaypal not returning payment status correctly. Paypal not returning payment status correctly.
Previous
 
Next
New Post
7/28/2010 12:09 PM
 

Our paypal payment statuses are not returning correctly. I went into paypal and turned on auto return and set the return url. I contacted paypal and they said that even thought I had the return url set, it was being over ridden by the software. Here is the email I had them send

As discussed in our call earlier today, your button coding is currently redirecting your customers to another website that is not the location set on your PayPal account which is listed as www.mydomain.com. You will want to contact your 3rd party shopping cart for assistance in determining why they are attempting to forward your customers to another location as opposed to the location on your account.

He said it was going to mydomain, but it had something like Storefront/tabid/99/ctl/ProductDetail... on the end

I set the return url to domain.com. However, our storefront is on domain.com/storefront.aspx. Should it be that page?

 
New Post
7/28/2010 1:05 PM
 

The cart sends the "Success URL" parameter as defined in the PayPal docs using the following code:

url = String.Format("http://{0}:{1}{2}", Request["SERVER_NAME"], Request["SERVER_PORT"], EditUrl("Confirm"));

PayPal.SuccessUrl = String.Format("{0}{1}", url, "?PayPal=Success&rm=2");

So the cart sends the SuccessURL (Return URL) when the user is redirected to PayPal. In addition, you need to upgrade to a business account at Paypal and set the return url to your site "http://www.yandasmpa.com/"

Did you upgrade to the paypal business account?

Can you post what you entered as your site "Return URL" in your paypal settings. Did you include the http in front of the domain?

Also, you mentioned in your post that the cart was sending the return url to "Storefront/tabid/99/ctl/ProductDetail..." can you post the full url that the cart is sending to paypal?

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
7/28/2010 1:40 PM
 

This client does have a business account.
Account Type: Business

What I have entered as the return url is
http://www.mydomain.com

They told me they couldn't give me the exact url because it was encoded. Here is what they said

Michael,

Unfortunately, I cannot be sure of the full address because it is encrypted below. From removing some of the encryption, I believe it should look something like this:

Encrypted:
return=http%3a%2f%2fwww.mydomain.com%3a443%2fStorefront%2ftabid%2f99%2fctl%2fConfirm%2fmid%2f512%2fDefault.aspx%3fPayPal%3dSuccess%26rm%3d2

My best guess unencrypted:
return=http://www.mydomain.com/443/Storefront/tabid/99/ctl/Confirm/mid/512/Default.aspx?PayPal/Success/6rm/2

- Josh

 
New Post
8/2/2010 12:50 PM
 
Do you have anything else for me on this?
 
New Post
8/2/2010 1:17 PM
 

I am not able to replicate this on my test system but there are many different configuration options and I may not have my system configured exactly the way you do. Please login to our test site and try to replicate the issue so we can verify if it’s the build or your site:

Here is the link to our demo site:

http://www9.smith-consulting.com/


if you need a userid to the test site please email support@smithcart.com

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
8/2/2010 2:24 PM
 
I noticed that your setting is set to Paypal Website Payments Standard. We have this one set to Authorize.net and then also have the show paypal checkout option checked. We need both options. I didn't change your settings, but I'm guessing on that. Can you verify?
 
New Post
8/2/2010 2:27 PM
 

You can configure the www9 test portal just like you have your settings configured on your portal.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
8/2/2010 2:28 PM
 
I don't really want to post our api login and transaction key somewhere else. Is this the only way?
 
New Post
8/2/2010 2:33 PM
 

Do you have a paypal sandbox account you can use?

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
8/3/2010 4:01 AM
 

I do have a paypal sandbox account however I don't think you're understanding the set up. We have this set up with Authorize.net as the payment system. Then, we also have the show paypal checkout option selected. Go here http://www.mydomain.com/temp/setup.jpg to see our set up. I don't have any way to set up your test site with Authorize.net without using this client's credentials and I don't want to do that.

 
New Post
8/3/2010 11:58 AM
 

If you configure the primary gateway as paypal standard and not authorize.net with a paypal checkout option do you still have the same issue returning from paypal? If so then you don't need an authorize.net account for the test.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
8/4/2010 6:11 AM
 
I just set your test cart to my developer account with paypal and I am unable to checkout to test the problem.
 
New Post
8/5/2010 3:11 PM
 
Do you have anything for me on this? Not to sound unappreciative, but this has been a problem for a couple weeks now and I really would like to either get it resolved or report it as a bug.
 
New Post
8/5/2010 3:26 PM
 

We dont really need the auhorize.net account to test paypal standard can you just setup paypal standard as the primary gateway and dont check the paypal checkout option checkbox?

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
8/5/2010 3:30 PM
 
I unchecked that and I am still unable to get the checkout button to do anything.
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartPaypal not returning payment status correctly. Paypal not returning payment status correctly.