#arpit-gupta_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1305620962477080607
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
It looks like iDEAL should support subscriptions. Can you show me the exact code that you are running where ideal doesn't show up as an option? https://docs.stripe.com/payments/payment-methods/payment-method-support#bank-redirects-product-support
Sure. Give me some time.
๐งโ๐ป How to format code on Discord
Inline code: wrap in single backticks (`)
This:
The variable `foo` contains the value `bar`.
Will turn into this:
The variable
foocontains the valuebar.
Code blocks: wrap in three backticks (```)
Also, you can specify the language after the first three backticks to get syntax highlighting.
This:
```javascript
function foo() {
return 'bar';
}
```
Will turn into this:
function foo() {
return 'bar';
}```
Notes about **code blocks**:
- Specifying the language is optional (e.g., you can omit `javascript` in the example above)
- If you don't specify the language you won't get syntax highlighting
- When you're inside a code block (after you type \`\`\`) the `Return`/`Enter` key will add a new line instead of sending your message
- Once you end the code block `Return`/`Enter` works normally again
You can [read more about message formatting on Discord's website.](https://support.discord.com/hc/en-us/articles/210298617)
async function configureStripe() {
await loadStripeSDK()
if (!stripeSDK.value) {
return
}
const options = prepareStripePaymentElementOptions()
await createPaymentElement(options)
}
async function loadStripeSDK() {
const { publishableKey, accountId } = props
const stripe = await loadStripe(publishableKey, {
stripeAccount: accountId || undefined,
})
if (!stripe) {
setCardError(MESSAGES.STRIPE_SDK_LOAD_ERROR)
return
}
stripeSDK.value = stripe
return stripe
}
function prepareStripePaymentElementOptions() {
const {
mode,
currency,
paymentMethodConfiguration,
paymentMethodOptions,
enableBNPL,
paymentMethodTypes,
} = props.stripeOptions
const paymentMethodTypesOrConfiguration = paymentMethodConfiguration
? { payment_method_configuration: paymentMethodConfiguration }
: { payment_method_types: paymentMethodTypes }
let { amount } = props.stripeOptions
let captureMethod = 'automatic'
if (
amount === 0 &&
mode !== StripePaymentMode.SETUP &&
mode !== StripePaymentMode.SUBSCRIPTION
) {
captureMethod = 'manual'
amount = 1
if (props.stripeMinimumChargeAmount)
amount = props.stripeMinimumChargeAmount[currency?.toUpperCase()] || 1
}
// https://stripe.com/docs/payments/accept-a-payment-deferred?platform=web&type=payment#additional-options
const options: any = {
mode,
amount: amountInSmallestCurrency(amount, currency),
currency: currency,
captureMethod,
...paymentMethodTypesOrConfiguration,
payment_method_options: paymentMethodOptions,
}
return options
}```
Here mode is passed as subscription when recurring product is selected and it does not load ideal when recurring product is selected.
Is the currency EUR? From our iDEAL page, it looks like we only support iDEAL for EUR payments at the moment. Otherwise can you send me your account ID? (acct_1234) Given that code, there should be a way for me to look up specifically why iDEAL isn't showing as an option for these payments
yes
account id: acct_1PcpMhB9ZMu7qZKZ
Hi, stepping in and catching up here
sure
Is that the account that you are testing this flow on? And are you testing as this account or is it a connect scenario? I am not seeing the logs I would expect given that setup.
okay let me try with this account right away
One other thing that might be helpful for you is that we have a tool for this in the dashboard. You can input info on the payment you are trying to make and we show explanations of why a certain payment method is or is not included. Testing just now shows that iDEAL should be available in my dashboard, but there may be something more informative if you look
https://dashboard.stripe.com/test/settings/payment_methods/review
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Just now I tried with the recurring product but ideal is not loading. Here is the checkout link. You can try with the second product and notice ideal never loads. Link: https://staging.gohighlevel.com/v2/preview/mQIKRpbTAkBjcePpRqhT
Thank you! I have what I need from that, will get back to you shortly
Sure.
Ah, so invoices have their own set of settings for which payment methods are available. It looks like the payment method config for invoices on your connected account doesn't have iDEAL enabled. Once it is enabled it should start showing up for you https://dashboard.stripe.com/test/settings/payment_methods?config_id=pmc_1Q8etZB9ZMu7qZKZ0RbX0hsE
But this is not an invoice right?
Not directly, however, subscription uses invoices under the hood so that setting is used for subscription payments.
Just to be clear we use LeadConnector Default config here. Ref: https://dashboard.stripe.com/test/settings/payment_methods?config_id=pmc_1NmMhkFpU9DlKp7RgZ7u8QDn
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
And here ideal is enabled
There are differences in one time payment, and Billing payment method configurations.
I recommend that you enable ideal here: https://dashboard.stripe.com/test/settings/payment_methods?config_id=pmc_1Q8etZB9ZMu7qZKZ0RbX0hsE and it's likely to solve the issue.
But then how sepa direct debit is showing on checkout for subscriptions although it is not enabled here where you are mentioning.
It is enabled in the LeadConnecter default config.
not in the PMC which you have sent for Billing
Any answer to the above question regarding sepa debit?
Anyone there?
Can you share the specific instance where you saw Sepa Debit while it was disabled while using Billing?
Also, I'm helping other folks on this channel at the same time so it takes a bit to circle back here. Thank you for your patience.
Ohhk got it.
Here is the proof of sepa debit showing for recurring products
but not ideal
Taking a look
ok
I'm asking my teammate to confirm here, hang tight
Hi ๐
My colleagues have been spending a lot of time digging on this and we have not come to a clear conclusion yet. We will be raising this issue internally to try to get to the bottom of it but, for you, I recommend you write in to Support https://support.stripe.com/contact so you can be kept informed of our progress.
Any uodate here?
Just what I shared above