Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shipping parameter for linkpoint checkout procedure


TheFinnisher

Recommended Posts

Posted

I'm trying to rewrite an uppdated module for the linkpoint cardservices contribution. It turned out this didn't work so well in the new MS1 and the new linkpoint system.

 

So far I am doing extremely good. Considering my slight experience with PHP. Basically I took the iPayment module and started to change the code to work for Linkpoint.

 

I am almost there though...

 

HOW WOULD I SPECIFY THE SHIPPING TOTAL??

 

I've been able to include the 3 other required hidden fields to be included in the checkout process:

 

What I have now is:

 

tep_draw_hidden_field('x_Amount', round($order->info['total'],2) ) .

         tep_draw_hidden_field('x_subAmount', round($order->info['subtotal'],2) ) .

         tep_draw_hidden_field('x_Shipping', round($order->info['shipping'],2) ) .

         tep_draw_hidden_field('x_Tax', round($order->info['tax'],2) ) .

 

 

but the shipping doesn't work in the $order->info['shipping'] draw hidden field. Can someone tell me how I should specify this field to be extracted? What do the twos (2's) stand for?

 

Thanks!

Archived

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

×
×
  • Create New...