Post by mandamexico » Thu Mar 22, 2012 4:02 am

I am in the final stages of a PayPal Payflow Link payment gateway and am stuck on the last process.

Clicking confirm order does nothing. My code sends form information (card exp. month,year) to paypals secure server for payment. Here is my code for the button:

Code: Select all

<div class="buttons">
  <table>
    <tr>
      <td align="right"><a onclick="confirmSubmit();" class="button"><span><?php echo $button_confirm; ?></span></a></td>
    </tr>
  </table>
</div>
<script type="text/javascript"><!--
function confirmSubmit() {
	var cardExMonth = $('#cardExMonth').attr("value");
	var cardExYear = $('#cardExYear').attr("value");
	cardExConcat = cardExMonth  +  cardExYear;
	$('#cardEXP').val(cardExConcat);
	$('#checkout').submit();
}
//--></script>
I am a novice at javascripting hopefully someone can help me. Website is at http://www.cswebfactory.com
Just add the product and do a guest checkout to test and the button doesnt respond. It should go to paypal secure server for final payment.

Thanks in advance,

Christian

EDIT: This is in the .tpl file at catalog/view/theme/default/template/payment

My Extensions

OpenCart Developer (OCD) Tools

Donate - If I ever helped you.


User avatar
Active Member

Posts

Joined
Mon Jun 29, 2009 10:14 am
Location - Los Angeles, CA
Who is online

Users browsing this forum: No registered users and 1 guest