#lk_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/1304053230006702092
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
so you are trying to create a Subscription for $500?
So, the user has a choice -- Choose 2 payment options
- 1500
- 1900
then they can choose a payment length
3mo
4mo
5mo
So we then create a subscription based on those combinations.
oh, you want the net amount to be $500. so I'm guessing the issue is computing the correct Stripe fee in advance to adjust the amount?
YES!!!! and to have it broken down in the payment section in the dashboard
my connected account needs the "net amount"
so this is more a math question that a Stripe question, so I won't be able to help much.
But I would recommend to start reading this StackOverflow reply, that gives some information: https://stackoverflow.com/a/66926456/17427213
let me ask you this -- whats the way that I can get the stripe fee to show up in the payment breakdown?
can you share a PamentIntent ID (pi_xxx) where you don't see it?
py_1QIULpPvgoa9RdaL8oRbCU7U
here's my UI for what it's worth
https://sketchplaylocal.com/cestars/pp/index.php
this is a Destination Charge, so the Stripe fee can be seen when looking a the PaymentIntent on the platform: https://dashboard.stripe.com/test/payments/pi_3QIULnLKTM2K3idy176vHLzE
oh wait.. i need to make this standard and direct
in this case the Stripe fee would be paid by the connected account
right. perfect.
cost: 500.00
my fee: 3.2%
my stripe fee: 2.9%+ .30
subtotal = 530.60
stripe fee on subtotal.
....
net to connected account 500.00
I recommend doing some tests in test mode to make sure it works as expected.
lol.. i've been in test mode for 4 days
haha. let me know when it works!
i have about 45 min or this client walks. wish me luck..
in my logs:
=== PAYMENT BREAKDOWN ===
[07-Nov-2024 12:24:22 UTC] Payment Amount: $530.90
[07-Nov-2024 12:24:22 UTC] Sketchplay Stripe Fee: $14.80
[07-Nov-2024 12:24:22 UTC] Sketchplay Fee: $16.10
[07-Nov-2024 12:24:22 UTC] Net Amount to Connected Account: $500.00
[07-Nov-2024 12:24:22 UTC] ========================
now if I can just actually transact this way
Payment amount
$530.60 USD
Fees
- $48.16 USD
Stripe processing fees - $15.69 USD
Lab3 Interactive, Inc. application fee - $32.47 USD
Net amount
$482.44 USD
oh my!!! I'm close.
i think I just need to remove my double of my fee