Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PPpay order Submit


BlueShaun

Recommended Posts

Hi, i have a request which hopefully may result in a simple pppay module.

 

the basic(no confirmation) code for pppay is as follows

 

<form action="https://www.pppay.com/checkout_centre.php" method="POST">
<input type="hidden" name="Seller" value="[email protected]">
<input type="hidden" name="Currency_Card" value="EUR">
<input type="hidden" name="Site" value="sitename">
<input type="hidden" name="Country" value="Ireland">
<input type="hidden" name="Currency" value="EUR">
<input type=hidden name="Kind" value="single">
<input type="image" src="http://www.pppay.com/banners/88x33/1.gif" height="33" width="88" border="0" name="submit" alt="PPPay Me Now" title="alt="PPPay Me Now""></form>

 

I have 2 questions.

 

1.

How can i pull the order total from the database/page to submit a hidden field

 <input type="hidden" name="Amount_1" value="ORDER_TOTAL">

where ORDER_TOTAL is the total value of goods plus shipping?

 

2.

How can i get this code to open in a new window, when the confirm order button is clicked?

 

Thanks for your time, and any assistance offered.

 

Shaun Mc Goldrick

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...