[attachment=0]Screen Shot 2014-03-30 at 4.36.04 pm.png[/attachment]Hi
My client's payment modes with the local payment gateway are Credit Card and Direct Debit.
Each mode has its own merchant ID code (the "mid" field).
So what I have done is use Custom Element and Submit button for each option (as in screencap)
Sorry I can't post links to the form here as it can't be made public yet.
The integration works fine, except that when passed to the payment gateway, only the first submit button's data will be sent. In this case, Credit Card is the first submit button and clicking on the Credit Card submit button will work. Clicking the Debit submit button will only show Credit Card on the payment capture page.
I guess my question is how to make each submit work as it should.
Read up on the forums and it seems to be a thing with using Event Switcher which I have installed but haven't a clue how to use it for this purpose.
Could someone kindly advise on how I can make the 2 buttons work please?
Appreciate your kind assistance and time.
Thank you so much.
My client's payment modes with the local payment gateway are Credit Card and Direct Debit.
Each mode has its own merchant ID code (the "mid" field).
So what I have done is use Custom Element and Submit button for each option (as in screencap)
Sorry I can't post links to the form here as it can't be made public yet.
<input type="hidden" name="amount" value="100.00">
<input type="hidden" name="txnRef" value="">
<input type="hidden" name="mid" value="12345678">
<input type="hidden" name="umapiType" value="lite"><div class="ccms_form_element cfdiv_submit" id="credit_container_div" style="text-align:left"><input name="MEMBERSHIP" id="CREDIT" class="" value="CREDIT CARD" type="submit" />
<div class="clear"></div><div id="error-message-MEMBERSHIP"></div></div><input type="hidden" name="amount" value="100.00">
<input type="hidden" name="txnRef" value="">
<input type="hidden" name="mid" value="23456789">
<input type="hidden" name="umapiType" value="lite"><div class="ccms_form_element cfdiv_submit" id="debit_container_div" style="text-align:left"><input name="MEMBERSHIP" id="DEBIT" class="" value="DIRECT DEBIT" type="submit" />
<div class="clear"></div><div id="error-message-MEMBERSHIP"></div></div><div class="ccms_form_element cfdiv_header" id="id2_container_div" style="">
The integration works fine, except that when passed to the payment gateway, only the first submit button's data will be sent. In this case, Credit Card is the first submit button and clicking on the Credit Card submit button will work. Clicking the Debit submit button will only show Credit Card on the payment capture page.
I guess my question is how to make each submit work as it should.
Read up on the forums and it seems to be a thing with using Event Switcher which I have installed but haven't a clue how to use it for this purpose.
Could someone kindly advise on how I can make the 2 buttons work please?
Appreciate your kind assistance and time.
Thank you so much.