#brandontrytn_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/1225839701437583441
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ Give me a few minutes to take a look
Ah hmm, the payment is trying to use Platform's configuration to look up payment methods
Ideal isn't enabled on the platform
it should be using this PMC, which has it off by default but not disabled: pmc_1O0OrgHwo6MMOJYvSakNlwjK
I'm not sure I follow...
The connected account config where ideal is enabled is pmc_1Ltw4fEEh9cdAk0gF8Ytqv4w
And the plaform config is: pmc_1O0RivEEh9cdAk0gQGMFRFQn
Ah pmc_1O0OrgHwo6MMOJYvSakNlwjK is another config of the connected account where ideal is off
the platform has 2 PMCs, default (pmc_1O0OrgHwo6MMOJYvSakNlwjK) and "trytn back office" (pmc_1Ow4v4Hwo6MMOJYvFvrz71Gi), this was done a few weeks ago to offer different payment methods for different buying experiences
when I created these I was told connect accounts would inherit these, and it appears they do as we don't want link offered in some instances and since creating these it has stopped being offered where we don't. so I would think these would also apply for ideal currently? are you saying we need "on by default" instead of "off by default"?
Hmm still a bit confused.
You initally said, you enabled ideal in PMCs and within connected account.
However, the payment method configuration that the PaymentIntent is automatically using has ideal as off
the dashboard only shows 2 platform PMCs, the ones I sent, I do not have any access within the platform to the others you sent
Just trying to be on the same page ๐
Also, have you tried manually setting the PMC when you create the PaymentIntent?
https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_configuration
"defaut" which was already created, and then recenly created the back office one
yes, the connected accounts have it turned on within their specific configs
I just created another PI (pi_3P2FjpEEh9cdAk0g18M0HjKd) with the PMC explicitly passed and it does not show IDEAL as an option still
Looking into that..
One thing I am curious about, Is there a reason that your PaymentIntent is being updated multiple times right after it is created?
during our checkout flow the customer could change qty or add other items, so on each step it's updated. that's also when we start to push more info into it as we have it (buyer info, etc)
is there harm in the updates?
Not really, I was just curious ๐
k, yeah I can also take a look to make sure we're being efficient and not sending off calls unnecessarily
Okay so here's what is likely going on:
On the connected account, you likely have ideal enabled under "No platform" configuration.
This doesn't really affect the payments that are created by the platform. It only affects payments that are created by the connected account directly using their own API keys.
For connect payment (direct charges), connected account inherits the configuration from the platform which is pmc_1O0RivEEh9cdAk0gQGMFRFQn
on that configuration, ideal is off by default and I think you're also managing the payment methods as a platform (in which case, the connected account can't override these settings and turn ideal on from settings)
They likely see something like
If you want connected account to be able to inherit platform config and override the settings then you can enable "Account Customization" on the payment method configuration
https://docs.stripe.com/connect/multiple-payment-method-configurations#section-1
If you don't want connected accounts to customize these settings then yeah you'd need to enable ideal on the platform configuration by setting it to On by default
I hope that clarifies
I see it as "off by default" and the only other options are "on by default" or "blocked"
so on by default will cause it to work?
Yup, it should
making those changes and will test it out and let you know
was able to place a test transaction. do not believe any code needs to change as I have backed out the passing of the PMC, so believe it will start to work in production automatically
in production for the actual client I checked after making the PMC changes discussed and it does not appear, the payment intent doesn't list it as an option: pi_3P2GTnCy1EquuzsE1KQkhep4
in production we currently pass "allow_redirects": "never", do we need to pass "always" to support this?
Hi ๐
My colleague had to step away so I'm taking over and trying to catch up.
Okay so iDeal is a bank redirect payment method. So passing allow_redirects: 'never' makes it not an eligible payment method for this Payment Intent
got it, will have to have a small code change to support then
Corret, Changing the value of the parameter to always or omitting it entirely should allow iDeal to be presented to the Customer
thanks again. say it every time, having this chat is one of the best support experiences I've ever had