Most probably this error happened because you either have an old plugin that was compatible only with the PT1 dashboard or provided a profile Id or client key wrongly.
In this article you will be going to know about:
How to investigate the reason that caused this error?
You will receive the error on your browser or you will get the error directly from the response payload sent according to your sent request.
Reason #1: Using an old plugin
This means that your Shopify plugin is compatible with the PT1 dashboard that uses secret keys in the authentication which is deprecated for more than 2 years now. You can investigate this by navigating to the PayTabs plugin within your Shopify platform. Usually, you will see email and secret key instead of profile id and client key.
Reason #2: Mismatch Credentials
This means that your provided Profile Id is not matched with the provided authentication client key or vice versa. To avoid/solve this kindly follow the following steps:
Match the “profile_id” sent within the request payload ( you can get this from your side from the icon (i) (view request body) in the API debug logs (Developer’s menu > Testing > API Debug Logs)) with the correct one shown in your PayTabs dashboard screen.
Make sure that you are using the type of the profile you need whether it's a live or test profile. To know the difference between them please check our What is Test Profile vs Live Profile? solution article.
Match the authentication client key sent within the request header from your side from the icon (i) (view headers) in the API debug logs (Developer’s menu > Testing > API Debug Logs) with the one associated with the provided profile number.
Tried all the previous steps and the issue still persists, don't worry, Paytabs' technical support team has you back and will assist you gladly to get through this issue as fast they can, just email us at ([email protected] ), with your profile Id, your business country/region along with an image of the error shown to you