subscribepro-magento2-ext
subscribepro-magento2-ext copied to clipboard
API URL Doesn't Support Non-Root Storefronts
I have an M2 store located at /shop/
. The Subscribe Pro extension attempts to send API requests to itself using the root path: /rest/V1/swarming_subscribepro/me/subscriptions
.
It does not appear to attempt to resolve the base url for the store.
Example file: subscribepro-magento2-ext/view/frontend/web/js/action/change-shipping-address.js:12
:
return storage.post(
'/rest/V1/swarming_subscribepro/me/subscriptions/update-shipping-address',
JSON.stringify({subscriptionId: subscriptionId, address: address}),
false
)