Customer Portal Configs

Customer Portal Configuration Options

Required Configs

email

{
    email: "example@google.com"
}

customer_id

{
        customer_id: "cus_FtWXI6U0YxebLd"
}

hash

{
    hash: "0709c7f107ed6326aaeaa3810330834870591f3924943e7bce66a826ac532045"
}

Available Configs

subscription_id

{
    subscription_id: "sub_I9cJJypSQHOfzl"
}

service

{
    service: "Your Service"
}

handleResponse

{
    handleResponse: async function(payload) {
      console.log("Event ", payload.event);
      console.log("Response Object ", payload.response);
    }
}

options.quantity

{
  options: {
      quantity: {
        super_user: 3,
        user: 5,
      },
  }
}

Last updated