Is There A Payment Gateway On Cs Cart That Process Payment On The Checkout Page

In this case iframe mode is not required. Just create your own template for the payment (check cc.tpl as example)

In this case iframe mode is not required. Just create your own template for the payment (check cc.tpl as example)

i have created my own template just dont know what url to add in the action attribute of my form

thank you again please take a look i my code

  

        
        {__("phone")}

  

{if $OTPSENT eq “true”}


{__(“enter OTP”)}


Extra form is not required. The system will use main checkout form

Extra form is not required. The system will use main checkout form

can you elaborate please becuase both of the above forms action is suppost be sent to my script

before pressing "place an order button" so how to do it then

You can use hooks in the fn_place_order function (app/functions/fn.cart.php) to make necessary actions before the order is placed

You can use hooks in the fn_place_order function (app/functions/fn.cart.php) to make necessary actions before the order is placed

am sorry am super confussed right now can you show me an exmpale please

am sorry am super confussed right now can you show me an exmpale please

Please, check the following articles for the details and examples:

https://docs.cs-cart.com/latest/developer_guide/addons/hooking/php_hooks.html

https://docs.cs-cart.com/latest/developer_guide/addons/tutorials/advanced.html

yes i have the saw the document above but the question stil remain the same how to pass the user input data to the hook

didnt understand how to send the from the template to the and from the hook to the template all that before pressing "place an order button"

See my post about input name and data in php. Before the order is placed, required information can be found in the $cart array

See my post about input name and data in php. Before the order is placed, required information can be found in the $cart array

am sorry but what post can you link it below

and also are you saying if a user type in their data in my custom tpl file i can find it automatical

in the $cart Array

am sorry but what post can you link it below

and also are you saying if a user type in their data in my custom tpl file i can find it automatical

in the $cart Array

https://forum.cs-cart.com/topic/65181-is-there-a-payment-gateway-on-cs-cart-that-process-payment-on-the-checkout-page/#entry351965

yes i get that but how to send to the script

to the payment processer with either a button or an input tag with type = "submit" before placing an order

If you use hooks as described earlier, you will be able to call your script before the order is created (add to the database)