StripeReturnPathOptions constructor

const StripeReturnPathOptions({
  1. String cancelOnCreateAccount = "/create_account/cancel",
  2. String successOnCreateAccount = "/create_account/success",
  3. String finishedOnAuthorization = "/authorization/finished",
  4. String successOnCreateCustormerAndPayment = "/create_custormer_and_payment/success",
  5. String cancelOnCreateCustormerAndPayment = "/create_custormer_and_payment/cancel",
  6. String finishedOnConfirmPurchase = "/confirm_purchase/finished",
  7. String successOnCreateSubscription = "/create_subscription/success",
  8. String cancelOnCreateSubscription = "/create_subscription/cancel",
})

Set return_url when used with Stripe's WebView.

Mobile is basically used by default, but for the Web, etc., it is possible to set this to direct the user to a specific URL.

StripeのWebViewで用いる場合のreturn_urlの設定。

モバイルは基本的にデフォルトで利用しますが、Web等の場合こちらを設定して特定のURLに誘導することが可能です。

Implementation

const StripeReturnPathOptions({
  this.cancelOnCreateAccount = "/create_account/cancel",
  this.successOnCreateAccount = "/create_account/success",
  this.finishedOnAuthorization = "/authorization/finished",
  this.successOnCreateCustormerAndPayment =
      "/create_custormer_and_payment/success",
  this.cancelOnCreateCustormerAndPayment =
      "/create_custormer_and_payment/cancel",
  this.finishedOnConfirmPurchase = "/confirm_purchase/finished",
  this.successOnCreateSubscription = "/create_subscription/success",
  this.cancelOnCreateSubscription = "/create_subscription/cancel",
});