question

iamgurdip avatar image
iamgurdip asked sam Deactivated answered

Charge credit card on web site without any orders

We are semi integrated with a Clover Mini in the store, using our own POS software. The customer also has a website where online order can be placed. Is it possible to pay using credit card, on the website without having to create any orders? The current api i looked at requires a OrderId. What is the significance of the Order in a semi integrated environment?

Thank you
Orders
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

sam avatar image
sam Deactivated answered
In semi-integration, the concept of `order` only exists to keep basic record of the transaction. In semi-int, every transaction has an `order` object with a single "manual transaction" to match with the payment object.

You could simply create an order using our REST API `/v3.../orders` and create a new order with body: `{"state": "open"}`, take the returned order id and use it to make a payment using our online payment endpoint DevPay
10 |2000

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