I am also writing a payment module where uponclicking next on payment page the page should redirect to an external server for payment and redirect back after payment is completed. Similar to paypal express. However, there seem to be a problem with the Enoteca template when it tries to redirect to payment page. It gets stuck and and displays "Processing" and i have noticed an iframe is opend on the payment page after an ajax call and also noticed some JS code trying to access whatever inside the iFrame (in this instance the payment page hosted in different domain) causing cross domain policy error?
Any help or comment on this would greatly appriciated?
Hi, Mohammad, i encountered just similiar problem, did you resolve it?
Hi if you guys still have an issue with this or someone else finds this topic in the hopes of a solution, here goes (NOTICE! This is only an issue if you are using the Enoteca sample site because of the way how the UI is implemented):
Download the EPiServer Commerce 1 R3 Code Samples : http://world.episerver.com/Download/Items/EPiServer-Commerce/EPiServer-Commerce-1-R3/EPiServer-Commerce-1-R3-Code-Sample-Package/
Simple isn't it? ;-)