Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to popup a payment module


aptivus

Recommended Posts

hi guys,

i've tried some coding to popup a payment system but i had no success.

The fact is that this payment module i'm working on usually popups and when you have finished you're forced to click on "CLOSE" and then it return back to your shop to insert the order into the database.

My problem is that as i cannot popup the payment module, when it closes, it communicates the order to my database but the customer doesn't see any confirmation page (checkout_order_success.php i mean).

Can you help me?

I've tried something like that in the class constructor for thi payment module:

 

$this->form_action_url = 'java script:window.open('https://www.mygateway.it/payment/home.asp','mygateway','scrollbars=no,status=yes,width=510,height=325,screenX=400,screenY=400,top=0,left

=0')';

 

 

Parse error: parse error in /home/sites/site91/web/catalog/includes/modules/payment/mygateway.php on line 37

 

Fatal error: Cannot instantiate non-existent class: mygateway in /home/sites/site91/web/catalog/includes/classes/payment.php on line 41

 

Thanks for your help

Francesco

Francesco

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...