5dafeac1ab
* remove obsolete useStoreOrder hook and implementation. This hook was actually never completed and was only implemented in the `usePaymentMethodInterface` hook/api. The original purpose was to expose order details to registered payment methods, but that is now exposed via checkout state event emitters so it’s no longer needed. OrderId is exposed via the `CheckoutState` context provider. * remove setBillingData from being exposed to payment methods directly billingData is updated via event emitter callback responses (see payment method data context provider) and is not something that should be set directly via payment methods. We want checkout to have control over how billing data is updated in the state. |
||
---|---|---|
.. | ||
css | ||
img | ||
js |