[CubeCart] Problem with Paypal checkout

Magic SEO URLs for CubeCart.
eldoradogems
Posts: 12
Joined: Mon Sep 14, 2009 8:44 am

[CubeCart] Problem with Paypal checkout

Postby eldoradogems » Tue Feb 09, 2010 6:37 pm

I have a problem with Paypal Express checkout (I use Paypal WebSite Pro integration). After I get an authorization from Paypal and click on "Make payment" button I'm getting "Page not found" error.
When I disable Magic SEO module everything works fine.

You can easily reproduce the problem by adding "Test item" to the cart and try to make a payment with Paypal. The price is only $0.10

http://www.eldoradogems.com
Just search for "Test item", add it to the cart and checkout with Paypal.

Thank you very much for your help.
Felix.

inveo
Inveo Support
Posts: 1275
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [CubeCart] Problem with Paypal checkout

Postby inveo » Tue Feb 09, 2010 7:02 pm

eldoradogems wrote:I have a problem with Paypal Express checkout (I use Paypal WebSite Pro integration). After I get an authorization from Paypal and click on "Make payment" button I'm getting "Page not found" error.


How does exactly look that URL?

eldoradogems wrote:When I disable Magic SEO module everything works fine.


What do you mean by disabling MSU? (commenting out installation line or disabling .htaccess Rewrite Rules?)

Since you are first user reporting such issue, I guess there is something wrong with CC setup.

eldoradogems
Posts: 12
Joined: Mon Sep 14, 2009 8:44 am

Re: [CubeCart] Problem with Paypal checkout

Postby eldoradogems » Wed Feb 10, 2010 2:32 pm

Thank you for the fast response.

~J~ wrote:How does exactly look that URL?


If I copy the link of the button I get the following URL:
"https://www.eldoradogems.com/en/shopping-cart/?step=3"

When I click on the button I'm ending up with this URL:
"https://www.eldoradogems.com/en/shopping-cart/index.php?_g=rm&type=altCheckout&cmd=process&module=PayPal_Pro&payment=1&"

~J~ wrote:What do you mean by disabling MSU? (commenting out installation line or disabling .htaccess Rewrite Rules?)


I commented out installation line and put the empty .htaccess file.

~J~ wrote:Since you are first user reporting such issue, I guess there is something wrong with CC setup.


You're right, I tried to search the same problem and I couldn't find any one with the same issue. Everything is working fine with Magic SEO and the problem with Paypal checkout is the only problem I have.

Thank you in advance for your help.
Felix.

inveo
Inveo Support
Posts: 1275
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [CubeCart] Problem with Paypal checkout

Postby inveo » Wed Feb 10, 2010 3:09 pm

Please find the following code in .htaccess file:

Code: Select all

#index.php - Fixing non-RFC redirection
RewriteCond %{QUERY_STRING} ^_g=co&_a=cart [OR]
RewriteCond %{QUERY_STRING} ^_g=co&_a=step([0-9]*)
RewriteRule ^([a-z]{2})/shopping-cart/index.php$ index.php [R=301,L,QSA]


and replace with:

Code: Select all

#index.php - Fixing non-RFC redirection
RewriteCond %{QUERY_STRING} ^_g=co&_a=cart [OR]
RewriteCond %{QUERY_STRING} ^_g=co&_a=step([0-9]*) [OR]
RewriteCond %{QUERY_STRING} ^_g=rm
RewriteRule ^([a-z]{2})/shopping-cart/index.php$ index.php [R=301,L,QSA]

eldoradogems
Posts: 12
Joined: Mon Sep 14, 2009 8:44 am

Re: [CubeCart] Problem with Paypal checkout

Postby eldoradogems » Wed Feb 10, 2010 4:28 pm

Thank you very much!
The problem is solved now.

Best Regards,
Felix.