If you would like to build a "custom" cart for customers, without them having to make any selections in a widget, and bypass the first step of the checkout process you can use javascript to add item(s) to customer carts.

 A very basic example...

        'description' : "My item",
        'amount' : 5.00,
        'qty' : 1
   }, function(data){

       //Redirect to Cart
       //<iframe src="[PAYWHIRL-SUBDOMAIN]/cart"><iframe>


Available Keys:

  • id - Plan ID 
  • qty - Quantity 
  • amount - Price of item
  • description - Name of item
  • type - Product, Service or Fee 
  • sku - SKU of item

Please let us know if you have any questions!
Team PayWhirl

Did this answer your question?