This article shares some possible use cases you can support, as well as a sample flow that could support each use case. This can be a helpful jumping off point as you plan your implementation.
You can display payment link data to a site page or dashboard page by completing the following steps:
You can create and send a payment link by completing the following steps:
ECOM
and the corresponding ecomPaymentLink
with details about the items to be purchased, or ECOM_ORDER
and the corresponding ecomOrderPaymentLink
with the Wix eCommerce order ID.Note: If you didn't specify recipients in the Create Payment Link request, you should specify them in the Send Payment Link request instead.
You can create and send a payment link for specific Wix Stores products by completing the following:
Call Create Payment Link to create a payment link, and specify the following:
type
:ECOM
.ecomPaymentLink
object:
lineItems.type
= CATALOG
, and in the catalogItem
object,catalogReference.catalogItemId
,catalogReference.appId
: "215238eb-22a5-4c36-9e7b-e7c08025e04e".ECOM
type payment links, ecomCheckout.checkoutUrl
is returned, and for ECOM_ORDER
type payment links, ecomOrder.orderUrl
is returned.