#Isha-becs_debit

1 messages · Page 1 of 1 (latest)

spring schooner
#

👋 happy to help

#

the error is self explanatory to be honest

#

becs_debit is a method that could not be used with setup_future_usage

#

meaning that we can't save the information of that payment method for future usage

haughty cedar
#

Okay, thanks! let me remove particular tag

spring schooner
#

let me know if you need any more help

haughty cedar
#

Hello

#

How can i access this URL in url: '/v1/charges?payment_intent=pi_3LFFVADF9kib3L4u03VAFuD6' my local environment ? What is endpoint ?

dawn oriole
#

not sure I understand , can you elaborate on the question or what you're trying to do/what you're reading?

haughty cedar
#

const intent = await stripe.paymentIntents.create({
amount: 19000,
currency: 'jpy',
customer: customer.id,
payment_method_types: ['customer_balance'],
payment_method_data: {
type: 'customer_balance',
},
payment_method_options: {
customer_balance: {
funding_type: 'bank_transfer',
bank_transfer: {
type: 'jp_bank_transfer',
},
},
},
});

#

I'm using jP Bank transfer

#

and Got O/p URL: url: '/v1/charges?payment_intent=pi_3LFFVADF9kib3L4u03VAFuD6'

How can I Use this URL on Browser?

dawn oriole
#

you don't really. I'm quite confused.

and Got O/p URL:
what does that mean?

haughty cedar
#

{
id: 'pi_3LFFVADF9kib3L4u03VAFuD6',
object: 'payment_intent',
amount: 1099,
amount_capturable: 0,
amount_details: { tip: {} },
amount_received: 0,
application: null,
application_fee_amount: null,
automatic_payment_methods: null,
canceled_at: null,
cancellation_reason: null,
capture_method: 'automatic',
charges: {
object: 'list',
data: [],
has_more: false,
total_count: 0,
url: '/v1/charges?payment_intent=pi_3LFFVADF9kib3L4u03VAFuD6'
},
client_secret: 'pi_3LFFVADF9kib3L4u03VAFuD6_secret_fccih7AseAi3a2Cvr1k3mjYVn',
confirmation_method: 'automatic',
created: 1656326948,
currency: 'gbp',
customer: 'cus_Lx9oGriT5V9SnJ',
description: null,
invoice: null,
last_payment_error: null,
livemode: false,
metadata: {},
next_action: null,
on_behalf_of: null,
payment_method: 'pm_1LFFVADF9kib3L4uduys63rI',
payment_method_options: {
customer_balance: { bank_transfer: [Object], funding_type: 'bank_transfer' }
},
payment_method_types: [ 'customer_balance' ],
processing: null,
receipt_email: null,
review: null,
setup_future_usage: null,
shipping: null,
source: null,
statement_descriptor: null,
statement_descriptor_suffix: null,
status: 'requires_confirmation',
transfer_data: null,
transfer_group: null
}

#

Output of intent

dawn oriole
#

cool, and the guide you're following should tell you what to do next?