question

zalak123 avatar image
zalak123 asked bryanvargas answered

create order from inventory and pay for it using iframe

Is it possible to create an order from the inventory using REST APIs? and then customers can pay for that order using clover hosted iframe?

OrdersREST APIInventory
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

·
bryanvargas avatar image
bryanvargas answered

Yes, the iFrame is just an embedded form to token a card and it returns a source token; you can combine it with the Ecomm pay for Order api instead of charge API to use that source to pay for the given order. The orderID is an path param in the API Call:

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

https://docs.clover.com/docs/using-the-clover-hosted-iframe

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