Paytia API - Braintree payment gateway - using the gateway_customer_control field to control the passed value in the gateway_customer_id field

Paytia API - Braintree payment gateway - using the gateway_customer_control field to control the passed value in the gateway_customer_id field

Error conditions

When using the Paytia API and connecting to the Braintree payment gateway, Paytia has added the ability for a developer to set their own Customer ID values as the Braintree Customer ID. 

API error message for control use cases:

Case 1: Gateway = Braintree, and gateway_customer_control is not within the valid values of '0' or '1'.

Error message returend: The value sent in the gateway_customer_control field is not supported. Please use a supported value {0,1}

Case 2: Gateway = Braintree, and gateway_customer_id is not provided, but a value of 1 is passed in gateway_customer_control.

Error message returned: A valid payment gateway customer ID value is required in the gateway_customer_id field when you are passing a '1' value in the gateway_customer_control field.

Case 3: Gateway = Braintree, and the value passed in the gateway_customer_id field already exists on the payment gateway.

Error message returned: The value you have passed in the gateway_customer_id field already exists on the payment gateway. If you want to create a new customer ID on the payment gateway with your own gateway customer ID value, please provide a different value in the gateway_customer_id field.

If you have any questions, please reach out to techsupport@paytia.com 

    • Related Articles

    • Webhooks sent from Paytia to API users for the payment capture IVR flow

      Paytia IVR webhook flow The initial post into Paytia will return a URL for the Paytia iframe. If you do not want to use the iframe you can ignore that response post ‘url’ value. Note: Paytia will maintain the reference_id value throughout the payment ...
    • Paytia API exception handling

      Paytia API Exception Handling The Paytia API services provide status update webhooks to track processes and status changes. These updates include standard API posts as well as exception handling for telephony-related processes. Below are details ...
    • Can Paytia work with my payment gateway?

      Can Paytia Work with My Payment Gateway? Integrating Paytia into the payment gateway you already use is possible, and we strive to create integrated solutions for mainstream payment providers. However, with thousands of gateways available, additional ...
    • Payment Types Supported by Paytia

      Payment Types Supported by Paytia The Paytia platform integrates with banks and payment service providers to enable secure telephone payments for merchants. Paytia supports a variety of payment types to cater to different business needs. The ...
    • What payment gateways are on Paytia's network?

      Payment Gateways Supported on Paytia's Network Paytia's platform is designed to integrate seamlessly with a wide range of payment gateways, ensuring flexibility and efficiency for businesses processing secure payments. Below is the list of supported ...