Collecting 'Additional Info' from Pricing Plan to Database

The additional info that users input in the custom form whilst checking out does not save to a database?

The only way to see the information a user has submitted is Dashboard> Subscription > View any user with the plan - Even so its on a 1 by 1 basis, I need to view all this data in the database so that I can use it later.

Im collecting information that will need to be displayed later in dynamic pages and inside the member’s area, but I’m not sure how to fetch this data even using velo?

Any help please :slight_smile: ?

2 Likes

@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 ); 
}) 

});

has anyone found a solution to this?

Any update ? I really need this to work.

Hello Wix, any answer to this question yet?
It seems strange that we can collect additional data at checkout when purchasing a pricing plan, but that the information is not available in a database for export. Thank you.

i have some problem i cannot find any solution ?