Authentication GCSv1HMAC?

Any worked with GCSv1HMAC authentication method?

Not GCS but HMAC yes, built a custom plugin from what I recall to work with it. It’s been a while though.

I’m using it for ANZ Payment Gateway authorization. Unfortunately, its constantly giving me the error ‘Access to merchant not allowed’

Never worked with that or honestly heard of it, but sounds like you may have a misconfiguration rather than HMAC. A quick google ai response for your error:

typically indicates a configuration issue where the merchant ID is not correctly linked to the gateway, the API credentials are incorrect, or the merchant account is not enabled for specific transaction types.

Sounds more like the issue, than an authentication error. I would contact their support and confirm if it is the HMAC authorization that is causing this issue. You’ll need to create an endpoint in your backend workflows as an api workflow and make it public with authorization as admin and ignore privacy rules. In this workflow, use the toolbox plugin (free)'s server script workflow to write JS that can do the HMAC hashing for you. Which you can return to the frontend by creating an admin token and creating an API connector call to this backend workflow.

turns out the URL was for some other region. the api provider gave me the correct URL for AU region. works now