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.




In this case, you will just need to follow the Shopify upgrade plugin instructions to upgrade your plugin, and only after that this issue will be resolved for good


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:

  • Check your provided profile id, it has to be the same one associated with your client key from your merchant's dashboard. You can check your profile keys by navigating to Developer’s menu > API KEYS > Key management.


    For more information about this please check our How to get my Authentication/Integration/API Keys? solution article.


  • 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.

     



Contact Paytabs' Technical Support Team


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 (customercare@paytabs.com ), with your profile Id, your business country/region along with an image of the error shown to you