Place an order as a guest
Places an order as a guest, without user registration.
Pay for an order as a registered user
Signs in a user, creates an order and opens a payment session for it. With an online payment account, redirect the user to the session's paymentUrl.
Subscribe to content
Controls access to content by subscription: it checks whether a user has an active subscription and either grants access to premium content or prompts them to subscribe.
Order event tickets
Creates an order for event tickets.
Generate a PDF receipt for an order
Places an order, reads it back with full pricing data and builds a printable receipt that can be rendered as a PDF on the client.