Jump to content

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

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

 
  • obssa
  • Member
  • Trial users
  • Join Date: 15-Jun 21
  • 35 posts

Posted 25 March 2022 - 10:52 AM #1

i want to know if there is a payment gateway that processes transcation on the checkout page without using iframe or without redirecting to a hostedpay page using api that is already found in cs cart.

 or any one knows how to process payment on the checkout page buy asking customer different infomations such as phone number  and providing a button where the customer can send an api request to the payment  gateway from the checkout page to get "otp" from the payment gateway and then finally place an order by providing the "otp"  on checkout page to send it the the rest of the request paramater  to the payment gateway to place an order.



 
  • soft-solid
  • Junior Member
  • Authorized Reseller
  • Join Date: 19-Apr 10
  • 1673 posts

Posted 25 March 2022 - 11:21 AM #2

Hello

 

You have to do it in the script that handles the payment in mode "place_order". We have a couple of addos that asks for payment authorization via API, there is communication in the background via the webhook.

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl | marketplace | Multi-Vendor/CS-Cart Development | Dedicated developers

We specialize in creating the highest quality addons, safe, useful and flexible


 
  • obssa
  • Member
  • Trial users
  • Join Date: 15-Jun 21
  • 35 posts

Posted 25 March 2022 - 12:07 PM #3

Hello

 

You have to do it in the script that handles the payment in mode "place_order". We have a couple of addos that asks for payment authorization via API, there is communication in the background via the webhook.

 

Best regards

Robert

Hello Roberts thanks for your replay can you please be more clear and specifiy the addon that works that way



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

Posted 25 March 2022 - 01:20 PM #4

Please check my answer regarding payment method templates in another thread.


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)


 
  • obssa
  • Member
  • Trial users
  • Join Date: 15-Jun 21
  • 35 posts

Posted 26 March 2022 - 12:14 PM #5

Please check my answer regarding payment method templates in another thread.

am sorry but can you leave the link to that thread 



 
  • soft-solid
  • Junior Member
  • Authorized Reseller
  • Join Date: 19-Apr 10
  • 1673 posts

Posted 26 March 2022 - 12:20 PM #6

Hello Obssa

 

What stage are you at in the integration of payments, what information do you need now?

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl | marketplace | Multi-Vendor/CS-Cart Development | Dedicated developers

We specialize in creating the highest quality addons, safe, useful and flexible


 
  • obssa
  • Member
  • Trial users
  • Join Date: 15-Jun 21
  • 35 posts

Posted 26 March 2022 - 01:20 PM #7

Hello Obssa

 

What stage are you at in the integration of payments, what information do you need now?

 

Best regards

Robert

Hello Robert

I have done the encryption and listed the paramater needed for the request and everything is ready and  

now am on a phase where when a customer chooses the specific payment method on the check out page a field will 

appear where the customer can enters its phone number and request for an otp to confrim the amount of pay notice though this all before the customer can clicking "place order button"



 
  • soft-solid
  • Junior Member
  • Authorized Reseller
  • Join Date: 19-Apr 10
  • 1673 posts

Posted 26 March 2022 - 01:59 PM #8

Hello

 

Similarly to credit card payment on the checkout page, you can provide input fields in which you can collect the necessary information.
 
/responsive/templates/addons/your_addon_payment/views/orders/components/payments/your_addon_payment.tpl
or this directory
/design/themes/responsive/templates/views/orders/components/payments/your_payment.tpl
 
You can put your fields in this file.
 
Best regards
Robert

Team of SoftSolid
cs-cart.pl | marketplace | Multi-Vendor/CS-Cart Development | Dedicated developers

We specialize in creating the highest quality addons, safe, useful and flexible


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

Posted 28 March 2022 - 05:07 AM #9

am sorry but can you leave the link to that thread 

 

https://forum.cs-car...-redirecting-it


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)


 
  • obssa
  • Member
  • Trial users
  • Join Date: 15-Jun 21
  • 35 posts

Posted 30 March 2022 - 02:38 PM #10

 

Hello

 

Similarly to credit card payment on the checkout page, you can provide input fields in which you can collect the necessary information.
 
/responsive/templates/addons/your_addon_payment/views/orders/components/payments/your_addon_payment.tpl
or this directory
/design/themes/responsive/templates/views/orders/components/payments/your_payment.tpl
 
You can put your fields in this file.
 
Best regards
Robert

 

hello Robert thanks for the info okay i have been able to display the form needed to accept the need infromatiom from customer, but on the templete i want to get the total value of the order  from the cart and and send a request from the tpl file in smarty 



 
  • soft-solid
  • Junior Member
  • Authorized Reseller
  • Join Date: 19-Apr 10
  • 1673 posts

Posted 30 March 2022 - 03:16 PM #11

Hello

 

This is in $order_info['total'] variable.

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl | marketplace | Multi-Vendor/CS-Cart Development | Dedicated developers

We specialize in creating the highest quality addons, safe, useful and flexible


 
  • obssa
  • Member
  • Trial users
  • Join Date: 15-Jun 21
  • 35 posts

Posted 30 March 2022 - 04:26 PM #12

Hello

 

This is in $order_info['total'] variable.

 

Best regards

Robert

hello Robert,

thanks you again but  how to send the data i got from the customer like the otp to the back-end  like for exmpale  to "fn_get_order_info"



 
  • soft-solid
  • Junior Member
  • Authorized Reseller
  • Join Date: 19-Apr 10
  • 1673 posts

Posted 30 March 2022 - 04:36 PM #13

Hello

 

Write more precisely what you want to do.

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl | marketplace | Multi-Vendor/CS-Cart Development | Dedicated developers

We specialize in creating the highest quality addons, safe, useful and flexible


 
  • obssa
  • Member
  • Trial users
  • Join Date: 15-Jun 21
  • 35 posts

Posted 30 March 2022 - 08:43 PM #14

Hello

 

Write more precisely what you want to do.

 

Best regards

Robert

hello  Robert

So i have mada a tamplete on the checkout page where  a customer can enter its  phone number and

send a request the the payment gateway to get an otp from the payment server  

 

Therefore now i hava field where a customer can enter the otp he got from payment gateway on his phone to 

the templete field on the check out page so now i want to use the otp that the customer enters on the checkout page 

and use the otp code to send the final post request  to the payment gateway when the customer click on the place order button on  the checkout page . 



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

Posted 31 March 2022 - 05:04 AM #15

Please use 

{$cart.total}

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)


 
  • obssa
  • Member
  • Trial users
  • Join Date: 15-Jun 21
  • 35 posts

Posted 31 March 2022 - 06:58 AM #16

 

Please use 

{$cart.total}

eComLabs thanks i already got that can you commet on the above question though