External Checkout Action (ECA) Add-on

This add-on allows you to send order form data to an external resource.

This way you can cover the following scenarios after purchase:

- redirect the user to any 'Thank you' page
- as the next step after shopping cart confirmation, direct the user to the custom form and optionally populate the fields of this form with data from the order
- implement an arbitrary checkout process using your own script for payment, delivery, booking. Your script can obtain the state of the cart form and you can manage the mapping of the fields.

Technically, when using this addon, the cart contents and client info are submitted as a <form> to the specified action URL with the specified method: GET or POST.

You're able to map each query param and form-data field of this form by setting up the pairs like

fullName={{client.name}}
notes=My order: {{cartItemsText}}

where {{client.name}} and {{cartItemsText}} are Data Variables to be replaced with actual values.

Available order data variables

{{client.name}} example value John Doe
{{client.phone}} example value 202-555-0192
{{client.email}} example value john@example.com
{{client.message}} example value Deliver it ASAP
{{orderId}} example value K8KZPUA
{{cartItemsText}} example value • 1 × $2.40 \\| Spicy unagi
{{totalAmountFormatted}} example value - $2.40
{{totalAmount}} example value - 2.40
{{cartItems}} example value [{"title":"Spicy unagi","image":"https://cdn.pixabay.com/photo/2017/06/04/03/37/sushi-2370265_1280.jpg","priceFormatted":"$2.40"}]
{{client}} example value {"name":"John Doe","phone":"202-555-0192","email":"john@example.com","message":"Deliver it ASAP"}
Was this article helpful?
Cancel
Thank you!