How to Integrate CraftGate

How to Integrate CraftGate

CraftGate is an app that acts as a bridge between companies and banks. It has a structure where these transactions can be managed through a common panel for different POS or methods in payment transactions. For more information check their website

We are using their “Payment by Link” solution for now.

Mindbehind Setup

After the registration process in CraftGate or if you have already registered, please go to MindBehind and select your company from the “Companies” tab.

Click the “Integrations” tab and add the “CraftGate” integration. 

Please fill in the related fields in the CraftGate Integration pop-up.

You can choose anything you want for ‘Integration Name’. You need to take ‘API Key’ and ‘Secret Key’ from Craftgate. ( Please check the Crafgate Setup part below to continue)

If you want to get payment from your website, you need to copy the script under ‘Payment Website Script’ to your website.

‘Payment Page Url’ is your website which you want to get paid and it must contain ‘Payment Website Script’. If its not contain the script, you get an error when submit the ‘Add Integration’ button. When payment is completed, the client is redirected to the ’Payment Callback Url’.

Note that if you don’t want to copy the script to your website, you don’t need to write anything to the ‘Payment Page Url’ section. It will work in ‘’.

Now you can use Craftgate integration on your bot with the ‘Payments module’. Just click on the ‘Payments module’ you see below.

You need to select integration. And fill other fields as ‘Total Amount’, ‘Currency’ and ‘Expiration’.

Expiration can not be less than 300s in your Payments action. You have to aware about that.

And lastly you can select a node for ‘Payment Succeed’ and ’Payment Failed’. If payment is ok chat bot continues to node of ‘Payment Succeed’. Otherwise it continues to node of ‘Payment Failed’.

In the end, common payment page will seem like below:

When payment is done, you will redirect to the callback url which you defined in integration.

You can also check the technical diagram below to see the flow:

Craftgate Setup

To fill the  "API Key" and the "Secret Key" fields, please go to the CraftGate panel. Click the “API Authorization Management” under the “Management”

If there is no previously created API authorization on this page, a new one must be created with the "Create API Authorization" button.

In the pop-up that opens, it is necessary to name and give the necessary permissions.

When you click on the "Create API authorization" button, you should see the "API Authorization" as below. 

Paste the API key and Secret Key information of the created api authority to the relevant places on the integration page. And click “ADD INTEGRATION” button. After this process, you should be able to see your newly created integration under the integrations tab.

    • Related Articles

    • How to Use CraftGate?

      Before Starting In order to receive payment through CraftGate, the integration setup in this link. How to Create Payment Link In order to create a payment link via an assistant, a "POST" request must be sent to the following endpoint using the ...
    • How to integrate a T-Soft store to MindBehind

      On Company Management, choose "Integrations" and choose T-Soft. To complete this process, you should already have a T-Soft store. When you see this pop-up, please click on the link to continue configuration. Click on ''Install Now''. Here, you should ...
    • How to Integrate Wabiz API ?

      Steps of wabizAPI’s integration is divided into small steps like following points: 1. First Step is to go to mindbehind home page ( 2. Second Step is click on company profile which is in side bar on the left of the home ...
    • How to Integrate Web Messenger

      1. Go to the MindBehind platform 2. Choose the company that your assistant belongs to 3. Click the “Channels” icon 4. Click the “Connect” button for Web Messenger, fill the name field and connect. Now, you should see the channel you created recently. ...
    • How to Integrate Masterpass to MindBehind

      From Company Management, select the Integrations section to see Masterpass integration. When you click on ADD, you will see a pop-up that includes the required data from you. For Integration Name, you can choose any name for this integration. Client ...