checkout
Page for completing an order
Last updated
Was this helpful?
Page for completing an order
Last updated
Was this helpful?
This page is ordered to process an order on the platform. Users can use the checkout page if they have one or more items in their Cart. Non-logged in users can access the checkout page, but will be asked to sign up or log in before processing a payment. This page used several Do when...
workflows to appropriately navigate the user through the checkout form.
Initiates the payment attempt by running the Charge a user using saved CC action
If the payment is successful, the workflow will create a new Order
instance and run the Payment success
custom workflow
When creating the new Order, we refer directly to the payment action to grab a field fields - Charge Id
and Amount charged
All Orders
should have Paid?
set to yes and the Payment date
field populated
Address fields are saved to populate the and to pre-populate the address for future checkouts
CC fields are saved to populate the
Deletes the Line item
from the user's Cart
If the user's Cart
contains no Line items after this one is deleted, the Cart
will be deleted and the user will be redirected from the checkout page
This is triggered following a successful payment for the order
Updates the Cart
's Paid?
to yes as well as populates a few other price fields
Updating the Cart
's Paid?
field is important - as this Cart
will no longer be used for future functionality
Deletes all unpaid Carts (Paid?
set to no) linked to the user
Updates the Cart
's Line items
Updates the Cart
's Products
Total in stock
and Told sold
fields
Sends an order confirmation email to both the customer and app admins
Triggered when Button Place Order has an error running a workflow
Notifies the user of the payment error
Sets the temp cart
state to the user's current cart
This used to store the relevant Cart
for logged out users
When a user logs in or signs up - on either step 1 or step 2 - we run the Transfer cart
custom workflow, which utilizes the temp cart
Triggered when the user logs in during the initial step of the checkout process
Triggers the Transfer cart
custom workflow
Triggered when the user signs up or logs in using the form on step 2 of the checkout process
Triggers the Transfer cart
custom workflow
Advances to the next step of the checkout process
Triggered if no Cart
has been created for the current logged out user
Triggered when there is no Cart
active for the current user
Used to transfer the Cart
from the logged out user to the logged in user
Deletes every Cart
besides the temp cart
for the current user (these are no longer necessary)
Used in the calculations for the payment workflows
Calculated by taking the sum of each Line item
's Quantity
multiplied by its Product
's Price
Used in the calculations for the payment workflows
Pulls the App fee (shipping)
value from the Website
object
Contains every Line item
for the current user's Cart
The application should only save paid Carts,
as these are used for reference purposes on the user's
Redirects the user to the
Redirects the user to the