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

    • Paytia API services

      API Services Playtia provides REST API services, allowing our customers and system integrators to programatically control the Paytia transaction processing service from their own web/database applications. Paytia have three versions of API services ...
    • 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 ...
    • 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 ...
    • Adding custom fields to capture more payment information

      How do I add fields to send additional custom values to Paytia and a payment gateway? Note: Custom fields is an additional licence. If you require this please contact sales@paytia.com Paytia has now introduced Custom fields as an additional licence ...