The first time you process a PayPal transaction for a new customer, you must do so via the API. After that, you will be able to create PayPal transactions using the customer's Vault record, either via the Control Panel or the API.
If you are using our Vault flow, PayPal customers will be prompted to enter their PayPal credentials and accept an agreement that will let you store their information in the Braintree Vault for future use.
Your customer can cancel or change the payment method associated with this agreement at any time in their PayPal Account Profile. This agreement is associated with the PayPal Business Account credentials that you entered in the Control Panel; if you change which PayPal Business Account you use with Braintree, customers will have to re-enter their PayPal credentials and accept a new agreement.
Depending on your specific integration, you may need to pass additional information with individual PayPal transactions created from the Vault via the API. Learn more about integration options when accepting PayPal.
The simplest approach when processing a transaction is to authorize and submit for settlement at the same time. That being said, Braintree and PayPal do support separate authorization and capture. This option can be helpful if you have a delayed order fulfillment process and prefer to wait to capture funds until you’re ready to provide your goods or services.
You can attempt to capture funds for up to 29 days after a successful authorization, but we recommend capturing sooner rather than later – PayPal can’t ensure that 100% of the authorized funds will be available during that entire 29-day period.
For more details on PayPal authorizations, see PayPal’s article on Authorization & Capture.
Unlike other payment methods, PayPal transactions are not settled in batches; instead, funds are captured right after you submit each transaction for settlement. This allows us to instantly inform you when a settlement is successful, so you can confidently ship your goods or provide your services immediately.
When settlement is successful, you’ll receive a processor settlement response of Settling. Within two hours, Settling PayPal transactions transition to Settled. Otherwise, you’ll receive a declined or pending response, depending on the situation and whether you’re using multiple partial settlements. See our transaction status reference for more info.
Multiple partial settlements are available for PayPal and Venmo transactions, and allow you to settle multiple amounts against a single authorization. This method can be helpful if you have a delayed order fulfillment process or if you send physical goods to customers in multiple shipments. You can create a parent authorization for the entire order amount, and when you’re ready to send each portion of the order, you will charge the customer for that portion in a separate child transaction. Learn more in our developer documentation.
Just like with other payment types, you can issue voids and full or partial refunds for PayPal transactions. We recommend that you do this in the Control Panel or via the Braintree API to ensure the transaction status is accurate in both your PayPal console and the Braintree Control Panel.
PayPal requires that refunds are issued within 180 days of the initial sale.
Disputed PayPal transactions can be managed in either the Braintree Control Panel or in the PayPal Resolution Center. Learn more.
Braintree supports PayPal's Seller Protection for merchants who sell shipped goods online. To qualify for Seller Protection and avoid certain types of chargebacks, you must:
- Pass a properly-formatted shipping address with each PayPal transaction
- Meet PayPal's Seller Protection requirements