🧪 Experimental KB — Official knowledge hub: community.kaptio.com

Missing Payment Button Due to Invalid Braintree Credentials

Customer reported the 'Continue to Payment' button was missing from the Billing Address page, with an 'Authentication credentials are invalid' error appearing in the console.

braintree payment-gateway configuration authentication-error missing-button

Problem

Customer reported the ‘Continue to Payment’ button was missing from the Billing Address page, with an ‘Authentication credentials are invalid’ error appearing in the console.

What We Found

The Braintree payment gateway credentials configured in Salesforce were invalid or not properly set up. This caused the payment component to fail authentication and hide the payment button.

Solution

  1. Navigate to the KaptioTravel__PaymentGateway__c record in Salesforce (Setup > Custom Settings or search for the record directly)
  2. Verify that the Braintree credentials (Merchant ID, Public Key, Private Key) are correct
  3. If credentials are missing or incorrect, work with Braintree to obtain the correct credentials for the environment (sandbox or production)
  4. Update the gateway record with the correct credentials
  5. Test the payment flow - the ‘Continue to Payment’ button should now appear

Notes

  • This issue affects the booking wizard payment step - the button simply doesn’t render when gateway authentication fails
  • Customer confirmed the issue was resolved after working with Braintree to set up correct credentials
  • Sandbox and production environments require different Braintree credentials - ensure the correct set is used for each environment

Warnings

⚠️ Always verify you’re updating the correct Payment Gateway record for the affected environment (sandbox vs production) ⚠️ Braintree credential changes may take a few minutes to take effect


Source: KHELP-12355

Was this article helpful?