PayPal Powered by Braintree, by SkyVerge
The SkyVerge‑built Braintree gateway is not a standard, server‑to‑server payment plugin. Instead, it verifies customer activity by generating a client token, capturing payment details in a secure iframe or popup, and finalising the transaction through a frontend interaction. This model works perfectly for normal customers, but it relies on code that is not always triggered when an order is created directly from the WordPress admin area.
When an agent clicks the Create order button in the Phone Orders interface, the WooCommerce order is saved with a status such as Pending payment. However, the Braintree gateway expects the customer to then be redirected to a payment page or to interact with a payment modal. If the agent simply creates the order, that frontend interaction never occurs, and the order remains unpaid without any means to capture the payment. The SkyVerge framework does not include an automatic “pay now” screen for admin‑created orders.
To work around this architectural constraint, the Phone Orders for WooCommerce plugin provides a Goto Checkout button. This button creates the order and then immediately redirects the agent (or the customer) to the frontend checkout page where the Braintree gateway can run its normal payment flow. This approach ensures that all of Braintree’s security features, tokenisation, and fraud detection tools are fully triggered, while still allowing the agent to control the order creation process.
Step‑by‑Step Configuration Guide
Follow these steps to enable the Goto Checkout button and correctly process payments through the Braintree gateway.
Step 1: Enable the “Goto Checkout” Feature
- Log into your WordPress admin area.
- Navigate to WooCommerce → Phone Orders → Settings.
- Click on the Checkout at frontend tab (sometimes labelled Frontend Checkout or similar).
- Look for the option titled “Show Goto Checkout” and tick the checkbox to enable it.
- Click Save settings to store your changes.
Once this option is enabled, the Phone Orders interface will display a Goto Checkout button alongside the standard Create order button.
Step 2: Create an Order Using the “Goto Checkout” Button
- Go to WooCommerce → Phone Orders → Add Order tab.
- Search for or create the customer as you normally would.
- Add the required products to the cart.
- Instead of clicking Create order, click the Goto Checkout button.
- The plugin will create the order and immediately redirect you (and the customer, if you are acting on their behalf) to the frontend checkout page.
- The Braintree gateway will load its payment fields (credit card form, PayPal button, etc.) on the checkout page.
- Complete the payment as if the customer were checking out themselves.
After the payment is successfully processed, the order status will be updated automatically (e.g., from Pending payment to Processing or Completed), and you will be redirected back to the order confirmation page.
Step 3: Understanding the Difference Between “Create Order” and “Goto Checkout”
| Action | Result |
|---|---|
| Create order | Saves the order in WooCommerce without triggering the Braintree payment flow. The order remains unpaid, and no immediate payment is captured. |
| Goto Checkout | Saves the order and then redirects the user to the frontend checkout page, where the Braintree gateway becomes active and can capture the payment. |
For the Braintree gateway, “Goto Checkout” is the only reliable method. The standard Create orderbutton should be used only for other payment methods (e.g., Bank Transfer, Cash on Delivery) or for orders that will be paid offline.