question

eingfilip avatar image
eingfilip asked jquintana commented

Pre-auth Flow

We have QR Code ordering platform for dine-in for restaurants. The customer can sit in a restaurant, order food through our app on mobile (WEB-based), update the order, add new items to the order, and in the end, the customer can pay for an order through our app.

We want to do pre-authorize payment each time customers create. The question is, do we have a correct flow to follow, here are the three steps that we think we should follow:

1. Customer open/create order in our app, and we immediately create Clover order using /v3/merchants/{mId}/atomic_order/orders

2. We create payment record for an order using /v3/merchants/{mId}/orders/{orderId}/payments with initial total amount of order

3. We create an authorization on a Payment using /v3/merchants/{mId}/authorizations

The customer wants to finish the order(pay). Can we charge just by calling /v1/orders/{orderId}/pay? Is this ensure that we can charge for the authorized amount?

We need clarification. Do we have the proper flow and how to finish the last step, charging for the authorized amount?

Paymentssemi-integrationsMerchantCustomersAuth
10 |2000

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

greyskymedia avatar image
greyskymedia answered

.following.

10 |2000

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

will1452 avatar image
will1452 answered jquintana commented

A pre-authorization (also called a “pre-auth”) allows merchants to estimate the amount of a final total, and receive authorization for that projected amount. The bank then places a temporary hold on a customer's credit card for the amount in question. SurgeCardInfo

1 comment
10 |2000

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

jquintana avatar image jquintana commented ·
What if you wanted to authorize for the original amount that the pre-auth was created with and you didn't add a tip? Is there a way to force the pre-auth transaction into an auth status without adding a tip or adjustment to the original amount?
0 Likes 0 ·
pattifleming avatar image
pattifleming answered

The customer can pay for an order through our app. dino game

10 |2000

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

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