How payment method works
1. User configures app settings in settings tab
After the installation, user would need a page where they can configure it. We recommend using Native apps feature to provide this functionality.
2. Ecwid sends order data to app payment URL
After registering your app, contact us and provide a payment URL where Ecwid will send POST request with order data as well as the Merchant app settings when customer is at checkout stage. Your app will need to get request details, decrypt it and allow user to make a payment for the order.
3. Customer finishes the checkout
In the storefront, customer will see a new payment method to choose from. If they choose this new method to pay for their order, they will be directed to payment URL of your app to finish the checkout process.
Upon finishing the payment, your app must update the order status and return customer to the storefront.