Jump to content
Sign in to follow this  
Patrick146

Protx form

Recommended Posts

When processing a order, the user selects the payment option 'protx form' it takes then takes the user to the confirmation screen, then takes them to the protx form site to finish the transaction. the order total is carried over but the problem being that the description is not carried with the price, any idea?? It originally was carrying the store_name in the description field, anybody come over this problem before?

Share this post


Link to post
Share on other sites

Hi

 

Replace

$plain .= "Description='" . STORE_NAME . "'&";

 

With

for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
$products_ordered = $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n";
	 }
     $plain .= "Description='" . $products_ordered . " from " . STORE_NAME . "'&";

 

I think that should work a bit better for ya

 

cheers

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×