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
OCC supports running multiple sites. Payment gateways can be configured at the site level so each site has it's own payment gateway settings. When I configured this plugin to run on a site that was not the default OCC site, it was failing in the SSE because the SSE wasn't retrieving the correct gateway settings for that site. Use the APIs on instances running multiple sites
As described in the documentation above, the OCC APIs have a way to query site specific settings or objects through a header property named "x-ccsite". If this header is not specified then it will query against the default OCC site. The APIs used in the SSE for this plugin do not take this into account so this plugin will only work for the default OCC site.
Some of the APIs I have identified that need to take into account the site id are:
OCC supports running multiple sites. Payment gateways can be configured at the site level so each site has it's own payment gateway settings. When I configured this plugin to run on a site that was not the default OCC site, it was failing in the SSE because the SSE wasn't retrieving the correct gateway settings for that site. Use the APIs on instances running multiple sites
As described in the documentation above, the OCC APIs have a way to query site specific settings or objects through a header property named "x-ccsite". If this header is not specified then it will query against the default OCC site. The APIs used in the SSE for this plugin do not take this into account so this plugin will only work for the default OCC site.
Some of the APIs I have identified that need to take into account the site id are:
Although there may be others.
You should be able to retrieve the siteId value from the incoming webhook request. The siteId will also be on the order object.
Example call using using x-ccsite header
The text was updated successfully, but these errors were encountered: