Hi, i recently bought your paystack plugin but have been having issues with creating a sub-account. it keeps giving this error below. I have tried to follow your demo step-by-step in setting it up but still no success. kindly assist
Hi @abdullahi.alfa ,
Thanks for reaching out. Based on this error, it seems that the key is not the appropriate one. Could you please make sure to go through our docs and follow all the steps (especially configuring the Paystack dashboard and your keys in Plugins tab).
If the error still persists, we’ll analyze the issue a bit deeper.
Best,
Alex
Thanks for the reply Alex, but the keys are correct. i copied it from my paystack dashboard. Kindly look in to this for me. i really need this to work for this project. I have removed the create sub-account step of the workflow and create the su-account directly from paystack dashboard, but i am still getting the below error message
i need you to look in to this for me ASAP. Thanks
Hi @abdullahi.alfa ,
Thanks for feedback. Your workflow setups seem to be correct. Please make sure to also use the random string generator for the (param.) reference
from the Initialize Transaction action. It is best to create a custom state and use the Calculate RandomString method before running the Paystack actions.
Important: For the API keys, please make sure to use the Bearer keyword before the actual key value. Here is an example in our demo.
Let me know how it goes.
Best,
Alex