VPL360CSR_CreatePaymentIntentCSR

This Integration Procedure creates the payment intent for the customer in Stripe and fetches the client secret key to complete the payment.

Sample Input 

1{
2    "AccountId": "0014W00002BvqD1QAJ",
3    "cartId": "8014W000000lIZNQA2"
4}
ParameterRequired/Optional
AccountIdRequired
cartIdRequired

Sample Output 

1{
2  "client_secret": "pi_1I134AKOGFB3U5JQFT9JDyzo_secret_PtqY6ZAHekxGt1wkV5MnYmvO2"
3}

Called By 

  • Flows

    • Agent console: Payment
  • Components:

    • Omniscript: vpls360csr_BuyAddonsV3_English

    • Omniscript: vpls360csr_ChangeBasePackage_English

Calls 

  • Data Mapper: DRVerifyOrderAccount

  • Data Mapper: VPL360csr-DRFetchStripeCustId

  • HTTP Action: ListAllPaymentmethods

  • HTTP Action: CreatePaymentIntent