hyva-themes / magento2-react-checkout

Highly Customizable Checkout for Magento 2, Built with React.
BSD 3-Clause "New" or "Revised" License
178 stars 53 forks source link

Checkout address extension attributes #233

Closed galanis-a closed 2 years ago

galanis-a commented 2 years ago

Extension attributes for checkout address are missing for the mutations to set the billing and shipping address.

This is useful for devs that have merchants that want more info in the addresses.

This could be a Magento 2 core graphql issue because I don't see support for this in the Magento 2 core graphql schema.

rajeev-k-tomy commented 2 years ago

@galanis-a Thank you for reporting this issue.

If graphql is not allowing you to update extension attribute, then on such occasions, you should go for REST API where extension attributes are supported. You can see an example for this for payment methods update where Hyvä Checkout uses REST API methods.

Hyvä Checkout is a base where you can build your own custom checkout solution. So it should not be treated as a drop-in replacement for Luma checkout. If you need to include extension attributes, then you should build it custom at the moment.

galanis-a commented 2 years ago

Yeah I though so too @rajeev-k-tomy. Thank you for the REST tip!