Hi everyone,
I’m building a custom React Native app, and using the Wix Api I’m able to handle most of the functionality needed. I use the API to create a redirect session and then use that URL inside a webview to complete checkout.
While this setup successfully completes the checkout process and records the order on the Wix Orders page, two issues happen:
- Customers do not receive order confirmation emails.
- The Wix app doesn’t send notifications for these orders.
Purchases made on the related Wix website work perfectly, triggering both a notification and confirmation email. So the system is in place and working in somecases.
What I did try
Opening up the Wix website inside the webview and checking out triggers the confirmation email. So I don’t believe the issue lies with the webview.
Has anyone else faced this issue? Or have any advice or insights in how I can proceed?
Thanks for your help
It seems that orders placed through the API in your app aren’t triggering Wix’s usual workflows, like confirmation emails and notifications, likely due to differences in how the API processes transactions. To address this, consider:
- Exploring the Wix API for options to trigger these workflows directly.
- Using automations or webhooks to manually set up email and notification triggers.
- Ensuring all required data is passed during the API session to replicate the behavior of standard transactions.
If these approaches don’t resolve the issue, redirecting users to Wix’s standard checkout page might serve as an effective workaround. Let us know if you need assistance implementing any of these strategies.
Thanks for the sugggestion but I’m using the API to generate a URL that goes to the Wix’s standard checkout page, this is where the triggers would normally fire however for some reason they do not. So I’m not processing transactions with the API.
They only fail to fire when I get to the checkout page via this method. When I complete purchases through the website they fire normally.