You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both Android and iOS SDKs offer the MerchantServer.createPreferences function. It would be great to expose that to the JS side (or at least simulate it since if I understood right it is only an HTTP GET request with the JSON object as the body)
This request is only to be in feature parity with the SDKs (in the Basic Checkout API)
The text was updated successfully, but these errors were encountered:
People that want more control should use the fetch API directly.
This is everything that MerchantServer.createPreferences does. It separates the domain from the uri but then joins them again to form the url.
We could rely on a package like url-join to recreate this behaviour but there is no real use case... the user provides both the domain and the uri anyway so why not provide the complete url?
Both Android and iOS SDKs offer the
MerchantServer.createPreferences
function. It would be great to expose that to the JS side (or at least simulate it since if I understood right it is only an HTTP GET request with the JSON object as the body)This request is only to be in feature parity with the SDKs (in the Basic Checkout API)
The text was updated successfully, but these errors were encountered: