Open kocendavid opened 1 week ago
Hi @kocendavid, when you Initialize a payment session in your storefront, you can pass billing_address
in the context
field of the payload. We don't automatically populate the field.
See https://docs.medusajs.com/api/store#payment-collections_postpaymentcollectionsidpaymentsessions
Bug report
Describe the bug
The flow is very simple user enters billing address, chooses shipping option and if all then is allowed to go to payment provider. The payment provider is custom and I have implemented initiate payment and update payment. When selecting payment provider both initiate and update payment are missing billing address in the context even though I can see billing address and billing address id in cart.
Custom payment provider doesnt get billing address in the context in initiate and update functions
System information
Node.js version: 20x Database: Operating system: win/mac
Expected behavior
Custom payment provider gets passed billing address everytime its present in cart