#nikky_webhooks

1 messages ¡ Page 1 of 1 (latest)

broken gobletBOT
#

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

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

gentle spoke
#

Hey! Apologies for the wait, looking at this now!

#

What do you mean by source_transaction amount being used in the next session

coarse minnow
#

I got this error. "error": {
"message":
"Transfers using this transaction as a source must not exceed the source amount of $20.00.",
"param":
"source_transaction",
"request_log_url":
"https://dashboard.stripe.com/test/logs/req_y22y5T9bAMDEzI?t=1761544091",
"type":
"invalid_request_error",
},
} That amount is from the previous transaction. The POST body has the correct amount. {
"amount":
"5180",
"currency":
"usd",
"destination":
"acct_1SIHGvGpHvh7ehfr"
Connected account
,
"metadata": {
"quantum_ids":
"sdf9",
},
"source_transaction":
"py_3SMjGdGdbZlAW4WT0hqKwjxG"
,
} I am not sure why that amount is not being used.

gentle spoke
#

The source_transaction in req_y22y5T9bAMDEzI which is the response payload you sent is py_3SMjGdGdbZlAW4WT0hqKwjxG, where the original payment amount was $20

Whereas the source_transaction in req_JEEziciGP8aF2q was py_3SMjAsGdbZlAW4WT1uSuDmcN where the original payment amount was $159.44

#

Both have different source_transactions

coarse minnow
#

Using those two, that is correct. I am looking at transactions of this session
req_0KDFu0nw6Jd6Dy compared to this session

req_NaqH51Dt82EH06. I noticed this session

req_NaqH51Dt82EH06 is trying to use the amount from the previous session here
req_0KDFu0nw6Jd6Dy.

#

This {
"id":
"cs_test_a10efgvO5tjQQRrVqDjOrj2UpWg04r3sn96vz90usHqJNa1DXlXqsy9qTN"
,
"object":
"checkout.session",
"adaptive_pricing": {
"enabled":
false,
},
"after_expiration":
null,
"allow_promotion_codes":
null,
"amount_subtotal":
2000,
"amount_total":
2000, is from req_0KDFu0nw6Jd6Dy. Yet, I get this error reason Transfers using this transaction as a source must not exceed the source amount of $20.00 for the
req_NaqH51Dt82EH06 session even though it includes the right amount that is current "id":
"cs_test_a1OdG2358HtpG1Yix0540vAGLf8K4TvJnbcSZ7qHyj4AMC0mySU0DJiHAa"
,
"object":
"checkout.session",
"adaptive_pricing": {
"enabled":
false,
},
"after_expiration":
null,
"allow_promotion_codes":
null,
"amount_subtotal":
5500,
"amount_total":
5500,
"automatic_tax": {
"enabled":
false,
"liability":
null,
"provider":
null,
"status":
null,.

gentle spoke
#

where the different source transactions are being used

#

You are getting the error:

Transfers using this transaction as a source must not exceed the source amount of $20.00."

because ther source transaction captured the amount: $20 as seen on your dashboard here

coarse minnow
#

Right. It uses the previous $20 captured instead of the current $55 captured for the checkout session.

gentle spoke
coarse minnow
#

I see that. It should have used py_3SMjHlGdbZlAW4WT0CMuEskI.

gentle spoke
#

Yup

coarse minnow
#

That is the issue I am wanting to fix. How do I get it to use the current source transaction?