#rajput.abd_22

1 messages · Page 1 of 1 (latest)

unreal sparrowBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

soft herald
normal yoke
#

req_XE8DmKXzyYFXej

unreal sparrowBOT
soft herald
normal yoke
#

how can i set both payment method card and ach payment

#

while creating subscriptions

soft herald
#

payment_settings.payment_method_types is an array [0], so you can simply add card in the array. For example,

{
  ...
  payment_settings: {
    payment_method_types: ['card', 'us_bank_account']
  }
}

[0] https://stripe.com/docs/api/subscriptions/create#create_subscription-payment_settings-payment_method_types

normal yoke
#

i am doing this but now i am getting error while creating subscription

#

req_cIcmea7CfhknaO this is req id

#

error is payment_settings[payment_settings]. Did you mean payment_method_options?

soft herald
#

This is what you sent in the request.

  payment_settings: {
    payment_settings: {
      payment_method_types: {
        0: "card",
        1: "us_bank_account",
      },
    },
  },
#

There should only be one payment_settings

normal yoke
#

okay creating is working fine but i am getting issue on updating subscriptions payment method
reqid is req_ZNTVC8nfLsvtoz
error:- The default_payment_method provided has a payment method type (card) that is not included in payment_settings[payment_method_types].

dull fractal
#

what do you mean by creating is working fine?

#

based off the request to create the Subscription, i'm not seeing you pass in card as a payment method type