# GIG To use the Checkout.com GIG plugin, set up and test your integration in the sandbox environment. Then move it to the production environment. The plugin supports the following payment methods: - Card payments - Apple Pay - Google Pay - SEPA - PayPal --- ## Before you start Before you configure the plugin, create a public and secret API key in the Checkout.com Dashboard. ### Create a public API key 1. Sign in to the sandbox environment in the [Dashboard](https://dashboard.checkout.com/). 2. Select _Developers_ in the left navigation bar and open the _Keys_ tab. 3. Select _Create a new key_. 4. Under _Type of key_, select _Public API key_. 5. Give the API key a description to help you identify what it's used for. 6. Select _Create key_. 7. Copy your public API key. You need it to configure the plugin. > **Information** > > You can view your public API key in the Dashboard at any time. ### Create a secret API key 1. Sign in to the sandbox environment in the [Dashboard](https://dashboard.checkout.com/). 2. Select _Developers_ in the left navigation bar and open the _Keys_ tab. 3. Select _Create a new key_. 4. Under _Type of key_, select _Secret API key_. 5. Give the API key a description to help you identify what it's used for. 6. Under _Scopes_, select _Default_. 7. Select _Create key_. 8. Copy your secret API key securely. You need it to configure the plugin. > **Note** > > The Dashboard shows the secret API key only once. Copy the value securely before you leave the _Create a new key_ page or close the window. --- ## Configure the plugin ### Configure the app settings 1. Sign in to your GIG account. 2. Go to _Configuration_ > _Payment Gateways_ > _Add Payment Gateway_. 3. Select the Checkout.com gateway, and select _Edit_. 4. In the _API Public Key_ field, enter the public API key you created in the Dashboard sandbox environment. 5. In the _Processing Channel ID_ field, enter the processing channel ID for your business. 6. In the _API Secret Key_ field, enter the secret key you created in the Dashboard sandbox environment. ### Configure webhooks Set up webhooks so that GIG can receive payment updates from us: 1. Sign in to the [Dashboard](https://dashboard.checkout.com/) (sandbox environment). 2. Select _Developers_ > _Webhooks_, and then select _Create configuration_. 3. Enter a descriptive name for the webhook, for example, _GIG integration_. 4. In the _Endpoint URL_ field, enter `https://callbacks.gig.com/checkout/{{your-subdomain}}`. 5. Under _Events_, select the event types you want to receive. - To minimize future updates, select all events. - At minimum, include payment and dispute events. 6. If required, select specific entities and processing channels. If you leave these blank, the webhook applies to the parent entity by default. 7. Copy and securely store the _Signature Key_ (Source Verification Key). You need it to set up webhook verification in GIG. 8. Select _Create webhook_ to complete the setup. --- ## Test your integration 1. In your GIG account, go to _Configuration_ > _Payment Gateways_. 2. Select your Checkout.com integration, and then select _Options_ > _Test Configuration_. If your credentials are correct, a confirmation appears. GIG can now communicate with your Checkout.com account. --- ## Move your integration to the production environment 1. Sign in to the production environment in the [Dashboard](https://dashboard.checkout.com/). 2. Repeat the previous steps to [create a public API key](#create-a-public-api-key) and [create a secret API key](#create-a-secret-api-key). 3. Repeat the previous steps to [configure webhooks](#configure-webhooks). Use the secret key you created as the signature key. --- ## Manage refund, return, and void transaction data You can refund, return, or void a deposit from the Dashboard. GIG updates the status of the payment automatically.