We added new APIs for order management of pricing plans. The additions include order management functions both on the frontend and the backend, and more backend events. The newly supported activities include:
Postponing, pausing, and resuming orders
Please note the deprecation and migration instructions we added to the Paid Plans documentation.
I'm entering starting date in createOnlineOrder but it's not working giving me the same date of current time.....i tried startDate in createOfflineOrder also but here it's also not working does anyone have the solution or code so i can get the
How can I get the additional info that users input in the custom form because when checking out it does not save to a database?
The only way to see the information a user has submitted is in Dashboard> Subscription > and it's information per member.
I have been trying to figure this out for the past 2 weeks. I added code to "my subscriptions" member page and I can see the pricing plans coming in the console but the form data / submission data is an object and it is empty. I only get the form Id and submission Id. How can I get this information and tie it together with the subscription plan so the member can see the information they put in the form?
Please help.
This is the code:
import { orders } from 'wix-pricing-plans'; $w('#myListOrdersButton').onClick((event) => { orders.listCurrentMemberOrders() .then((ordersList) => { const firstOrder = ordersList[0]; const firstOrderStatus = ordersList[0].status; console.log('Your orders:', ordersList); return ordersList; }) .catch((error) => { console.error(error); }) });
Thank you in advance.
Hi, has anyone had any luck with the postpone order function? I can't seem to get the date right for mine and it is driving me crazy.
Trying to use the Orders function from the online and it is not loading on a dev environment. Only on a live site, it is working.
When I move the mouse over the line code import { orders } from 'wix-pricing-plans'; I see this message showing: "Cannot find module 'wix-pricing-plans' or Its corresponding type declaration" Please advise