Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Button In Payment Gateway Tpl Rate Topic   - - - - -

  • patoh
  • Newbie
  • Trial users
  • Join Date: 30-Dec 15
  • 9 posts

Posted 19 February 2016 - 10:06 PM #1

Hi Guys,


I am trying to create a new payment gateway where a user has to validate a code sent to his phone as a payment option. I have done the tpl code it works. What i want to do is add a button to check the database for the code before the order is completed.

Heres my code

<div class="control-group">
    <label class="control-label" for="customer_name">{__("customer_name")}:</label>
    <div class="controls">
        <input type="text" name="payment_data[processor_params][customer_name]" id="customer_name" value="{$processor_params.customer_name}"  size="60">
<div class="control-group">
    <label class="control-label" for="customer_phone">{__("customer_phone")}:</label>
    <div class="controls">
        <input type="text" name="payment_data[processor_params][customer_phone]" id="customer_phone" value="{$processor_params.customer_phone}"  size="60">
<div class="control-group">
    <label class="control-label" for="receipt_code">{__("receipt_code")}:</label>
    <div class="controls">
        <input type="text" name="payment_data[processor_params][receipt_code]" id="receipt_code" value="{$processor_params.receipt_code}"  size="60">

I need to add a button below to validate code the tell the user congratulations you can now submit your order.

I have a php file but its not in cs cart format.


Attached File  buy.php   1.28KB   4 downloads

Please help

  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22943 posts

Posted 22 February 2016 - 08:20 AM #2

Our team can help you to complete this integration. Feel free to contact us to get a free quote

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)