#xiaowo_webhooks
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/1240937493638021151
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
What's the evt_xxx ID of the event you're trying to handle?
evt_3PHL5SIC1xDAOwlv01FunzEz
the request.body i receive is
the Stripe-Signature i recevie is
t=1715930505,v1=6f4ea9926acf812e32110781636131b788f3618c7ca99d2ce1b5c626ea882339
What is the excact code you're using in your handler?
Which version of the Java SDK are you using?
And is there an example of a test mode evt_xxx that is parsed?
test mode example id is: evt_3PHLC9GpnLHZB9v91Cp4Qvoh
the sdk version let me check
This is likely related to an API/SDK version mismatch. The events are generated on different accounts, which have different API versions:
evt_3PHLC9GpnLHZB9v91Cp4Qvohis fromacct_1P2kPHGpnLHZB9v9which uses2023-10-16evt_3PHL5SIC1xDAOwlv01FunzEzis fromacct_1PGcN4IC1xDAOwlvwhich uses2024-04-10
This is important because major SDK versions are fixed to a specific API version, and events generated with a different API version won't be able to be deserialized
So likelihood is you're using an SDK verison that is fixed to 2023-10-16 (which is why the test account/events work)
the java sdk version is 1.8.0_362
Hmm, that's the Java version. Your integration is using 24.12.0 of our SDK: https://dashboard.stripe.com/logs/req_CnXCfvzw05HhUj
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 24.x.x is fixed to 2023-10-16: https://github.com/stripe/stripe-java/blob/master/CHANGELOG.md#2400---2023-10-16
Are both of these accounts using the same Stripe integration/code?
yes
now what should i do. can you mind be more specific.
Then I guess you've only just created acct_1PGcN4IC1xDAOwlv and that's why it has a different API version (they use the latest on creation)
You should write in to our team and we can downgrade acct_1PGcN4IC1xDAOwlv to use the same API version as the other account and that will ensure your existing code works for both: https://support.stripe.com/contact/email?topic=api_integration
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Okay, I'll try contacting your team first
Yep, unfortunately you cannot downgrade the API version on the account – only we can do that
ok, thank you very much
I would like to confirm again, should I lower the version of acct1PGcN4IC1xDAOwlv to October 16, 2023?
Correct, yes. You can reference this Discord thread URL in your email for the context
OK!!!!
No problem, glad I could help!