#.saberkhan

1 messages · Page 1 of 1 (latest)

zinc patrolBOT
formal basin
#

Hi there, are you talking about a payment mode Checkout Session?

stone cobalt
#

Yes

formal basin
#

OK. For payment mode Checkout Session, Stripe will automatically create a PaymentIntent under the hood.

#

The payment_method_options hash is a configuration you you can set for specific payment method.

#

For instance, you can use payment_method_options.acss_debit to set details about the ACSS Debit payment method options.

stone cobalt
#

That will be used in the future. Right

#

We are talking one time Checkout session.

formal basin
#

Maybe I don't fully understand the question, can you walk me through with an example?

stone cobalt
#

Hide child parameters
payment_method_options.acss_debit
optional associative array
contains details about the ACSS Debit payment method options.

Hide child parameters
payment_method_options.acss_debit.currency
optional enum
Three-letter ISO currency code, in lowercase. Must be a supported currency. This is only accepted for Checkout Sessions in setup mode.

Possible enum values
cad
Canadian dollars

usd
US dollars

payment_method_options.acss_debit.mandate_options
optional associative array
Additional fields for Mandate creation

Show child parameters
payment_method_options.acss_debit.setup_future_usage
optional enum
Indicates that you intend to make future payments with this PaymentIntent’s payment method.
Providing this parameter will attach the payment method to the PaymentIntent’s Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.

When processing card payments, Stripe also uses setup_future_usage to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.

Possible enum values
on_session
Use on_session if you intend to only reuse the payment method when your customer is present in your checkout flow.

off_session
Use off_session if your customer may or may not be present in your checkout flow.

none
Use none if you do not intend to reuse this payment method and want to override the top-level setup_future_usage value for this payment method.

#

Look above example and this will be for future usage. If I am creating a One Time Checkout session, why I need to use payment_method_options?

#

key word is ONE TIME

formal basin
#

payment_method_options is a optional hash, if you don't have any configuration that you want to set to a specific payment method, you can leave it null.

stone cobalt
#

So in essense payment_method_options are for FUTURE USAGE. Am I right?

formal basin
#

No

stone cobalt
#

Why?

formal basin
stone cobalt
#

So will then values of payment_methods_options will be override by some other parameters?

#

I am talking payment_method_types.

#

Becasue both payment_method_types and payment_method_options gives the same values of differy way to pay.

#

This is bit confusing to me.

formal basin
#

OK. so payment_method_types tells Checkout Sessions what payment methods that the Checkout page should present to the customer, so it's different from payment_method_options

#

For example, if you set payment_method_types to ['card', 'us_bank_account'], then the checkout out session will present card and ACH payment methods to customer

stone cobalt
#

payment_method_type is clear. Confusing part is payment_method_options.

formal basin
#

OK. In most cases you can just leave payment_method_options null.

stone cobalt
#

I will do it but I will appreciate it very much if you can give me an example of the usage of payment_method_options. Thank you!

formal basin
#
    us_bank_account: {
      financial_connections: {
        permissions: ['payment_method'],
      },
    },
  },```
#

In this example, we are enabling Financial connection for ACH direct debit payment method

stone cobalt
#

I need to read the content of the above link. Thank you though!

formal basin
#

Happy to help

stone cobalt
#

Is there a way to pull all of my conversation I made in discord?

formal basin
#

I don't know if there's a way to export conversions from discord.

stone cobalt
#

ok

stone cobalt
#

"payment_method_options.p24.tos_shown_and_accepted". Is this a Boolean function?

formal basin
#

Yes it's a boolean

stone cobalt
#

Thank you

#

"payment_method_options.paypal.capture_method". Only enum value is "Manual". Can we use it then Checkout session.

formal basin
#

You can use it if needed

stone cobalt
#

How can we use it on line payment options since only options is manual

formal basin
#

The explanation says "use manual if you intend to place the funds on hold. "

Do you intent to place the funds on hold?

stone cobalt
#

No

formal basin
#

Then don't use it

stone cobalt
#

So input is "null"

#

If i do not use "payment_method_options.paypal". Should I totally ignore this field or should I use "null"

formal basin
#

You can just ignore it.

stone cobalt
#

ok

#

Financial Connections Session". Do you know how much it cost for this service?

formal basin
stone cobalt
#

payment_method_options.wechat_pay.app_id". How this works?

#

Also is this a Boolean function?

formal basin
#

The doc says The app ID registered with WeChat Pay. Only required when client is ios or android.
So it's string instead of boolean. Do you have an account with Wechat?

stone cobalt
#

No

#

Without account id, buyer cannnot use it ofr ios and android? So if I have wechant account then I add this account id here.

#

Without account id, buyer cannnot use it for ios and android? So if I have wechant account then I add this account id here.

formal basin
#

I'd suggest you to try it out the integration yourself and come back if you have a specific question.

stone cobalt
#

Will you give me a link to get the requirements for Apple and Google Pay? Thanks!