Application/Regular Payment Process, Stripe Payment

Application/Regular Payment Process, Stripe Payment 20220121
This workflow accepts subscription contract applications. The customer makes a provisional subscription through a web form and clicks on the URL in the acceptance email to complete the subscription. At the time of subscription, the credit card information is registered with Stripe. The customer is billed on a regular basis based on the registered information.
Worker (#of Swimlane: 3)
  • Customer
    • Customers making an application.
  • Application Receptionist
    • Person in charge of accepting applications.
  • Billing Management
    • Person in charge of managing billing.
Business Flow (Complexity of Workflow: 27)
  • 6 a1. Confirm Application Details
    • The person in charge of accepting applications will confirm the application details.
  • 38 b1. Billing Information Input
    • The billing administrator enters information for billing.
  • 24 b2. Continue Billing Decision
    • The billing administrator will decide whether to continue billing. If the billing start date has passed, processing will proceed automatically.
  • 2 Main Application Form
  • 7 xa1. Set Title
    • The workflow platform sets the applicant's name and the selected plan as the subject.
  • 14 xa2. Convert plan to price
    • The workflow infrastructure uses the choice master to convert the selected plan into a price.
  • 19 xa3. Convert price into numbers
    • The workflow infrastructure converts prices into numbers.
  • 20 xa4. Stripe customer generation
    • The workflow platform registers customer information in Stripe and obtains the Customer ID.
  • 23 xb1. Set Title
    • The workflow platform sets the applicant's name, selected plan, and billing start date in the subject line.
  • 25 xb2. Stripe billing
    • The workflow platform performs billing through Stripe.
  • 32 xb3. Next billing start date
    • The workflow platform calculates the next billing start date.
Business Process Variables (#of Data Item: 18)
  • Customer Name q_customerName 0 *
    • Stores the applicant's name.
  • Customer Email Address q_customerEmail 1 *
    • Stores the applicant's email address.
  • Plan Selection q_plan 2 *
    • Stores the selected plan.
  • Billing Start Date q_paymentStartDate 15 *
    • Stores the billing start date.
  • ◆ Payment Information Input I/F (Create Stripe Token) 9
    • (Please obtain and reflect the "pk_test_*****" string from Stripe settings)
  • Stripe token q_stripeToken 4 *
    • Stores the token required for Stripe payment.
  • last4 q_last4 5 *
    • Stores a portion of the credit card number (last 4 digits).
  • Form API Key q_formApiKey 6
    • Stores the form's key. (key is included in the form URL)
    • #{#randomString(20)}
  • (Explanation of provisional application) 17
  • (Explanation of this application) 16
  • Price q_price 7 *
    • Stores the price to be charged.
  • Price (text) q_priceString 8
    • Stores the price (text) to be charged.
  • Next Billing Start Date q_paymentStartDateNext 18
    • Stores the next billing start date.
  • STRIPE CUSTOMER ID q_STRIPE_CUSTOMER_ID 10 *
    • Stores the Customer ID obtained from Stripe.
  • STRIPE CHARGE ID q_STRIPE_CHARGE_ID 11
    • Stores the Charge ID obtained from Stripe.
  • STRIPE CARD BRAND q_STRIPE_CARD_BRAND 12
    • Stores the credit card brand name obtained from Stripe.
  • STRIPE LAST 4 DIGITS q_STRIPE_LAST4 13
    • Stores part of the credit card number (last 4 digits) obtained from Stripe.
  • STRIPE EXPIRY DATE q_STRIPE_EXP 14
    • Stores the expiration date of the credit card obtained from Stripe.

Field Name, num, Initial Value

Download

This archive contains the BPMN icon, which is only available in the Professional edition.

Notes

  • Stripe’s Secret Key setting is required in “Specify Token Directly” in the HTTP Authentication setting of the workflow app. In addition, Stripe’s Publishable Key setting is required in the Javascript in the guide panel of “◆ Payment Information Input I/F (Create Stripe Token)”. (Please check Stripe’s information on how to obtain each Stripe key. You will need to obtain a Stripe account even if you are performing a test run)
  • It is necessary to upload priceTable.xml as the Choice Master in App Shared Add-ons in the System Settings. When changing the contents, the choice IDs of the Plan Selection data item must match the choice IDs in priceTable.xml.
  • Please change the text of the email sent to the applicant.
  • When testing and executing Stripe processing, the test card can be “4242 4242 4242 4242 04/24 242”.

Capture

See also

Stripe: 顧客, 生成
Stripe: 顧客, 課金
定期決済プロセス,Stripe決済

Discover more from Questetra Support

Subscribe now to keep reading and get access to the full archive.

Continue reading

Scroll to Top