#In better-auth plugin, shoud I pass the address?
1 messages · Page 1 of 1 (latest)
It seems there was an issue retrieving the information directly from the documents. However, I can still provide some guidance based on common practices.
When integrating with Dodo Payments using the Better Auth Adapter, it's possible that the billing address is required as part of the API call to ensure that the transaction is authorized correctly. Even if Dodo collects the billing address during checkout, the API might require you to pass it explicitly for additional verification or matching purposes.
Here's what you can do:
-
Verify Documentation Requirements: Double-check the integration documentation to ensure that passing the billing address is indeed a requirement for the Better Auth Adapter.
-
Check API Parameters: Ensure that your API call includes all required parameters, including the billing address, if specified.
-
Contact Support: If the documentation is unclear, or if you believe the billing address should be automatically handled, reach out to Dodo Payments support for clarification.
If you can access the official documentation or have further questions, please let me know, and I'll be happy to assist further.
Shall I Hardcode a US address and pass it?
No, you should not hardcode @mortal steeple
Please create a checkout page which collects the required information and pass it.
We do have something called static links which collects these details on behalf of you but unfortunately its not supported in better-auth plugin.
Please let me know if you have any doubts @mortal steeple
It is in the pipeline or not anytime soon?
We have something exciting in pipeline which will most probably fix this issue. Please wait till end of this week. Ill give an update.
ok..
Hey.. any update? Still whenever i don't pass address the checkout is failing.. was this fixed? Ideally I would want dodo itself to collect address, I'm using the better auth plugin for context..
Hey @oak coral any update?
Hey @mortal steeple we have new feature released called Checkout Sessions. It will collect the billing details if you don't pass it.
We will include it in the better-auth plugin by end of this week.
Ill update you once it's done
Awesome ok!
Was it implemented? @oak coral