Recued
Menu
← Back to recipes

Create Chargebee hosted checkout

by recued-core v2 26 views

Use “Create Chargebee hosted checkout” in Recued. It runs the Chargebee hosted checkout creation workflow with approval before changes are made.

How it works 9 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (9 steps)
■ target_customer_id trim
Trim whitespace from setting customer id
■ target_item_price_id trim
Trim whitespace from setting item price id
■ encoded_checkout_body trim
Trim whitespace from setting checkout body
■ checkout_reason trim
Trim whitespace from setting reason
◆ customer recued-core.chargebee.customer.read
Read customer on chargebee
◆ item_price recued-core.chargebee.item_price.read
Read item price on chargebee
■ has_body compare
Check if encoded checkout body has data
◆ hosted_checkout recued-core.chargebee.hosted_page.checkout.create
Create hosted page checkout on chargebee
skip: step.has_body not_equal true
■ card to_summary
Format results as a summary card
▼
Output
summary card
json customer.result
json item_price.result
json hosted_checkout.result
Settings 4 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

reason setting =
customer id setting =
checkout body setting = customer[id]=customer-001&subscription_items[item_price_id][0]=example-plan-USD-monthly&subscription_items[quantity][0]=1&redirect_url=https%3A%2F%2Fexample.com%2Fchargebee%2Fsuccess&cancel_url=https%3A%2F%2Fexample.com%2Fchargebee%2Fcancel
item price id setting =

Uses (3 operations)

Pack operation Read customer on chargebee recued-core.chargebee.customer.read
Pack operation Read item price on chargebee recued-core.chargebee.item_price.read
Pack operation Create hosted page checkout on chargebee recued-core.chargebee.hosted_page.checkout.create

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Permissions it requires

Read your Chargebee connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

chargebee chargebeehosted-checkoutsubscriptioncustomerapprovalpack:chargebee

Details

9 steps 4 configurable settings recipe_id: create-hosted-checkout-chargebee