Posted: December 21, 2012 at 9:06 am
|
I’ve been trying to figure out why the wrong theme is being applied to my thank you page when the rest of the gateway testing is working perfectly, and I just found something interesting. When I checked the javascript console in my latest test, it is referencing the theme for the live parent site, not the dev subdomain. Additionally, I haven’t yet configured HTTPS for the parent site – just for the dev site – so it’s giving me error messages about insecure content. I’m going to enable it for the parent site, but that still doesn’t help me understand why it’s looking in the wrong place and applying the wrong theme. Any suggestions for something to examine or try? |
|
I just noticed something about this problem that might help but I’m still stuck. AIM Users: https://www.eProcessingNetwork.Com/cgi-bin/an/transact.pl SIM Users: https://www.eProcessingNetwork.Com/cgi-bin/an/order.pl” |
Hi Robin, Is it the case where the one site was copied over to the other? In that case, it may be that the gateway settings on the one site are pointing to the other. If you look in the Event Espresso>Payment settings for the gateways that you have set up, it will display a relay response URL. You can verify that first, then go into the merchant account settings and make sure you have the correct response URL set. I can imagine this can also happen if the response URL set in the merchant account is set to a URL on the other site. |
|
|
Thanks, Josh. I just checked the payment settings page. The images are referencing a development site url, and the relay response URL is also referencing a development site page. In the Authorize.php file, I had set the payment URL to the one they (ePN) said to use (and it’s working properly for the payment, as I mentioned) and there’s no way for me to set a response URL in my merchant account – I logged in to check. It’s only using what’s passed in as an argument in the function call. This is why I was wondering whether I may have missed something in another file that I should be changing? So, basically I have two problems: the css is wrong (using the live site css instead of the subdomain dev site css) and the return page is wrong. I don’t know how to fix either, but I’m guessing that they may be related – if it’s oriented to get the right css, I’d hope it would also grab the right page. Any other suggestions? |
Hi Robin, I’m sorry for the delay. I can’t think of any other suggestions for this, partly because the ePN gateway isn’t one of the gateways we’ve built, so we don’t have a means to support it. It sounds like there is a difference between how the ePN payment page pulls together the paths from your dev site. The images are likely getting pulled from an absolute URL, but the stylesheet may be a relative URL, and it’s not looking in the sub domain, and looking at the top level instead. |
|
|
Thank you, Josh. I suspect you are right. After fighting with it for far too long (since I wanted it live already), I met with my credit card processing guy over coffee this morning (I would gladly recommend him to anyone looking for one) and we decided to switch me to the authorize.net gateway. It should happen this afternoon. Once that change is made, and I can test again, I’m hoping that it has some weird connection to the duplicate events in the cart problem I’m also having. If that would miraculously be cured as a result of the change, I’d be one ecstatic camper. If not, I’ll be back here on the forum continuing to seek answers! Happy New Year- |
Hi Robin, I would suspect that the reason you are seeing duplicate events in the cart is because the volume discounts add-on is activated. Is that the case? If so, there is a bug where if an event has 2 categories, and volume discounts is active and set to 1 category, a duplicate event displays in the cart. |
|
|
Thank you so much!!!!!!!!!!! Happy New Year! |
|
by the way, I think that bug is a good reason to give more thought to my suggestion in a different thread: https://eventespresso.com/topic/multiple-volume-discounts-questions/. Don’t you think that might help solve that problem? |
Hi Robin — The bug has been fixed (not sure if the updated version is on the pre-release downloads page yet, but you can try re-downloading and see if that fixes it), but your suggestion does make sense. I suspect it would require a significant amount of overhaul of the code to implement this and most of our dev team is trying to focus on Event Espresso 3.2. |
|
The support post ‘Dev subdomain theme ignored for thank you page’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.