#In better-auth plugin, shoud I pass the address?

1 messages · Page 1 of 1 (latest)

mortal steeple
narrow duneBOT
#

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:

  1. Verify Documentation Requirements: Double-check the integration documentation to ensure that passing the billing address is indeed a requirement for the Better Auth Adapter.

  2. Check API Parameters: Ensure that your API call includes all required parameters, including the billing address, if specified.

  3. 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.

mortal steeple
#

Shall I Hardcode a US address and pass it?

oak coral
#

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

mortal steeple
oak coral
#

We have something exciting in pipeline which will most probably fix this issue. Please wait till end of this week. Ill give an update.

mortal steeple
#

ok..

mortal steeple
mortal steeple
oak coral
#

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

mortal steeple
#

Awesome ok!

mortal steeple