@chukwudi4993 I have been trying to figure this out for the past 2 weeks. I am having the same issue. 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. Did you figured it out? Code below.
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 );
})
});