#tymm
1 messages · Page 1 of 1 (latest)
Which value? Can you give more context?
Can you copy paste the full error message? And also your code?
im using webhook, and the code cant seem to decrypt the event object. it is working fine previously when im using the local listener, so it could be that the secret im using is wrong can u help me to verify that?
Can you check your backend server logs, there should be some clear error message there that explain what exactly is the issue. Without this information, it's difficult to help.
on the server side the error is No value present when trying to event.getDataObjectDeserializer().getObject().get();
that can happen if you have changed your API version or your version of stripe-java recently, basically if the event the code is receiving is in an API version that the Java library can't accept.
i see, i can see the version that i want listed in the dashboard. how do i change to that?
i want the 11-15 version
you can't, it's not possible to downgrade(though can write to support and they can do it)
so the options would be
- update the stripe-java lbrary to the latest version of itself that supports the latest API version
- create your webhook endpoint pinned to the 2022 verson(will share instructions for that in a bit)
- use the unsafe deserilaizer
- write to support to downgrade your account's default API version(but often if you ask, we will push you to do option 2 instead)
how do i do that