#aashish_unexpected

1 messages · Page 1 of 1 (latest)

uncut craneBOT
#

👋 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/1286601836119330879

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

chilly bay
#

hi! do you have an example cs_test_xxx CheckoutSession where the payment method doesn't show up?

weak juniper
#

cs_test_b1gVKtcUaNmiOZfjbwem6JyXkbcXLep8r6mnp5tFhQTKJscG4WefXe4cQB

#

this is for the test account acct_1PqBGGQSQWqMMH1b

chilly bay
#

do you have a more recent example than 4 weeks ago?

weak juniper
#

I'll create one now and share

chilly bay
#

anyway it's probably because you pass capture_method: "manual", , and Bancontact is not compatible with that

#

yep, it is

weak juniper
#

what about this one, cs_test_b1WkI0I7Z0Ow3IPZkriYAmSssSSO4aRxBPHc4d4JQSixGAvsrddh8bfMRH
I am using subscription mode for this. I still can't see bancontact in it

chilly bay
weak juniper
#

ok. thanks.
checkout session api with payment intent only takes flat amount for application fee and I won't know the actual amount (if discount is applied ) until the checkout is confirmed. That's why I am using the capture_method manual option. Is there a way I can have both application fee in percentage and bancontact payment method?

Also, If not, Can you tell me which payment methods other than bancontact are not compatiable with capture_method: "manual"

uncut craneBOT
ancient maple
#

Hey! Taking over for my colleague. Let me catch up.

#

Is there a way I can have both application fee in percentage and bancontact payment method?
You can achieve, did you try and get an API failure ?

weak juniper
#

I am using the capture_method manual now, as I can't add the application fee in percentage. But then, I am not able to see the bancontact payment method

#

I don't get any error, it just doesn't show the bancontact payment method

#

So, I wanted to know if there is some other way to calculate the application fee without using capture method manual which is compatiable with bancontact

ancient maple
#

So, I wanted to know if there is some other way to calculate the application fee without using capture method manual which is compatiable with bancontact
Why you need the manual capture method in order to calculate the Application fees?

weak juniper
#

The checkout api with payment intent only accept application fee amount as a flat amount. And I want to pass it as a percent amount. But I can’t calculate the amount using the percentage because I won’t know the exact amount before checkout session is confirmed as the customer could have used a discount code

ancient maple
#

Can you generate a new Test Checkout Session and share it with me, in order to understand better your use case please ?

weak juniper
#

cs_test_b10g9PaXnVwKFYmDy9XfwTI0883WE8vq6OaitZjHm98Na5uZiWDCpyJ93o

ancient maple
#

Thanks awesome, I finally understand your use case now.

#

Ok, now what you can do is to compute the application_fees_amount and pass it to your Checkout Session

#

Then after completing the Payment/Checkout, you inspect the checkout and see if there was a discount applied. If it's the case, you compute the difference and make a transfer to your Connected Account with the adjusted value

#

This seems to be the only option.

weak juniper
#

Ok, thanks. 🙂
I’ll look into it