StripeReturnPathOptions constructor
const
StripeReturnPathOptions({
- String cancelOnCreateAccount = "/create_account/cancel",
- String successOnCreateAccount = "/create_account/success",
- String finishedOnAuthorization = "/authorization/finished",
- String successOnCreateCustormerAndPayment = "/create_custormer_and_payment/success",
- String cancelOnCreateCustormerAndPayment = "/create_custormer_and_payment/cancel",
- String finishedOnConfirmPurchase = "/confirm_purchase/finished",
- String successOnCreateSubscription = "/create_subscription/success",
- 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",
});