question

01928-7325x2 avatar image
01928-7325x2 asked David Marginian Deactivated commented

Create Payment Authorization

Does the payment authorization can be used with E-Commerce API?
https://docs.clover.com/reference#paycreateauthorization-2


What we are looking for is a way to make sure if the customer has enough balance in their card before making a real transaction.

Paymentse-commerce api
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated commented

I am not familiar with that endpoint but it is not related to our EComm API. Is there a reason why our auth/capture model will not work for you - https://docs.clover.com/docs/ecommerce-accepting-payments#using-the-auth--capture-model?

4 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

01928-7325x2 avatar image 01928-7325x2 commented ·

We use E-Comm pay order API to pay the order created using Clover orders API.

https://docs.clover.com/reference#postordersidpay

We tested before with E-Comm charge API but it doesn't aware that the payment is for the order created on Clover. It seems the charge API is only work for external order.

What is the main difference between E-Comm pay order and E-comm create charge?

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ 01928-7325x2 commented ·
Got it, and the order/pay automatically captures. I created an issue for the order/pay to have the same capture capability but it hasn't been worked yet. Unfortunately, there is really no option for you until that is complete.
0 Likes 0 ·
01928-7325x2 avatar image 01928-7325x2 David Marginian ♦♦ commented ·

That would be a great addition for the current E-Comm Pay Order API!
Thanks!

0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community