I have a WIX website. Am am usin COVID by WIX to help add custom functionalities to the website.
Im using the "Pricing & Plans" app by Wix. I've created a pricing plan where the customers can pay using the app. After a successful payment, I'd like to redirect the customer to a specific page depending on the product they order.
here is what i need implemented.
After the payment is processed check the purchase result and if wixPayStatus === "Successful" redirect using wix-location API. first import it:
import wixLocation from 'wix-location'
Then use it to redirect:
[login to view URL]("/new-url");