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
- Navigate to the KaptioTravel__PaymentGateway__c record in Salesforce (Setup > Custom Settings or search for the record directly)
- Verify that the Braintree credentials (Merchant ID, Public Key, Private Key) are correct
- If credentials are missing or incorrect, work with Braintree to obtain the correct credentials for the environment (sandbox or production)
- Update the gateway record with the correct credentials
- 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