Job Runner

Get the Checkout Session ID Passed from Stripe's Webhook

Summary

Get the checkout session ID passed from Stripe’s Webhook.

How to Use

In Stripe’s Webhook, obtain the checkout session ID from the information provided by Stripe. The ID cannot be obtained from Kintone’s Webhook.

To receive Webhooks from Stripe in Job Runner, you need to configure it on Stripe, not in the Kintone app. On Stripe, go to Developers > Webhook > Add Endpoint and register the Job Runner job’s Webhook URL in the Endpoint URL.

Currently, the events supported by Customine for Stripe are “Checkout Session Completed (checkout.session.completed)” and “Payment Succeeded (payment_intent.succeeded).” “Get the Checkout Session ID Passed from Stripe’s Webhook” can be used in the “Checkout Session Completed (checkout.session.completed)” event. An error occurs if used in the “Payment completed (payment_intent.succeeded) event.”

The ID of the obtained checkout session will be set as a result of the action. You can obtain it from other actions using expressions like =$1.

Parameter

There are no parameters to be set.

Occurrence of Record Retrieval Criteria

The obtained information is not a Kintone record; it will not occur under any conditions.

Criteria Occurrence
When Record Is Ready It does not occur.
When All Records Are Ready It does not occur.

Restrictions

  • When the created Webhook is called from Kintone, executing “Get the Checkout Session ID Passed from Stripe’s Webhook” results in an error. Register the Webhook using “Get the Checkout Session ID Passed from Stripe’s Webhook” to Stripe’s Webhook, not Kintone.

  • It is not available for scheduled tasks.