EE 2.5.3 and Store 1.6.1

I have an issue where it looks like PayPal is not returning the customer to the correct specific Exp:resso Store order confirmation page after successful PayPal Express payment. This is odd as I tested this installation with no problem, it seems to have just recently started occurring. It happens with either PayPal account payment or credit/debit card. The page where it returns the customer to is (wrongly) http://www.example.com/about . The PayPal account 'Auto Return' setting is 'off' as I suspect the return URL should be passed to PayPal by Store.

Here is the EE template code for the final /checkout3 page before transfer to PayPal:

    error_delimiters='<span class="help-inline">|</span>'}...

Here is the code generated:

<form action="http://www.example.com/music/checkout3"; method="post" id="" name="" class="form-horizontal" data-order-total="10" >
<div style="margin:0;padding:0;display:inline;">
<input type="hidden" name="return_url" value="music/order/ORDER_HASH" />
<input type="hidden" name="payment_method" value="paypal_express" />
<input type="hidden" name="ACT" value="20" />
<input type="hidden" name="RET" value="music/checkout3" /> ...

Thanks a million for any help!

2 Answers 2


There was a stray 301 Redirect on /music/order/ in the .htaccess file which was sending the customer back to the wrong page after successful PayPal submission.


Try adding the domain to your return_url variable:

<input type="hidden" name="return_url" value="http://www.example.com/music/order/ORDER_HASH" />
  • 1
    Thanks MediaGirl - that wasn't necessary as it turned out. There was a stray 301 Redirect on /music/order/ in the .htaccess file which was sending the customer to the wrong page... doh! Commented Dec 12, 2012 at 16:28
  • That will do it! Glad you tracked it down.
    – Anna_MediaGirl
    Commented Dec 12, 2012 at 16:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.