[
{
"title":"Testing",
"link":"https://docs.solidgate.com/payments/testing/",
"text":"Simulate payments to test your integration before launching in production.",
"imgSrc":"https://solidgate.com/wp-content/uploads/2022/06/icon-customizable.svg"
}
,
{
"title":"Create your payment form",
"link":"https://docs.solidgate.com/payments/integrate/payment-form/create-your-payment-form/",
"text":"Understand how to integrate the payment form into your product.",
"imgSrc":"https://solidgate.com/wp-content/uploads/2022/06/icon-payments.svg"
}
,
{
"title":"Billing",
"link":"https://docs.solidgate.com/billing/",
"text":"Smart billing solutions designed for diverse business models.",
"imgSrc":"https://solidgate.com/wp-content/uploads/2022/06/icon-global.svg"
}
]
PayPal is a globally renowned online payment system established in 1998. It offers secure and diverse payment options in over 200 countries. PayPal supports transactions in numerous currencies and is especially popular for its customer-friendly interface and protection of sensitive financial information.
*see processing notes for specific currencies in the principles of operation.
Recurring
Yes
Refund
Yes
Partial refunds
Yes
Multiple partial refunds
Yes
Chargeback
Yes
Principle of operation
Order initiation The system creates an order for customers to select PayPal.
Selection at checkout Customer select PayPal at checkout, link bank accounts or cards, or use their PayPal balance for transactions.
Authentication and authorization Customer authorize payment through PayPal account or balance.
Payment initiation Tokenizing PayPal payment information during the first transaction allows a customer to complete future payments with a single tap. The tokenization process also supports
Guide
Explore Solidgate subscriptions for seamless recurring customer payments.
subscriptions
models by handling recurring transactions with a PayPal payment token.
Payment confirmation Payment is completed through PayPal. Customer authorize payment through their PayPal account or balance.
Merchant notification Merchant is notified and tokenizes PayPal details for future use.
For
Currencies
such as COP, CRC, HUF, LAK, RSD, and TWD, you are required to submit the amount as an integer with two zeros at the end, for example, 10000 or 1226800. This ensures that the amount transferred to PayPal is correctly formatted and avoids rounding issues.
By adhering to this format, you ensure that PayPal processes the exact amount as intended. If this format is not followed, PayPal round the amount, which could lead to inaccuracies. For example, an amount of XXX0.99 may be rounded to XXX1.00, or XXX0.01 may be rounded up to XXX1.00, potentially affecting the transaction’s precision and leading to discrepancies in financial records.
Guide
Scale your business with PayPal's pre-dispute alert.
PayPal prevent alerts
offer a proactive way to manage disputes, notifying merchants of potential chargebacks with a 20-hour window to issue refunds or contest claims. Furthermore,
PayPal dispute
API
report or
received PayPal dispute
Webhook
provides comprehensive information about each dispute. PayPal risk metrics should also be considered to track and
Guide
Improve the dispute resolution process to reduce costs and maintain stability.
manage disputes
and chargebacks effectively.
Solidgate no longer displays PayPal orders in
Guide
Detailed transaction insights for APMs with customer data.
APM report
and
Guide
Optimize your product and payment management with Solidgate HUB.
HUB
where a button was shown, but no payment occurred. Previously, Solisgate returned such orders in the created
Guide
Efficiently manage and track alternative payments with real-time updates.
status
created
and transferred them to Declined (0.02) later.
Integration flow
Obtain PayPal sandbox credentials from your Account Manager or request the Solidgate support team.
Follow the detailed documentation after receiving the API keys for the PayPal sandbox environment.
Initiate the payment by
init payment
API
request to create the order, or add the PayPal button to your payment
Guide
Understand how to integrate the payment form into your product.
form
, set it up as a payment option on the payment
Guide
Comprehensive guide for personalizing your payment page.
page
, or generate a payment
Guide
Use payment link to sell online without an integration.
link
with PayPal as the selected method.
Customize the appearance and behavior of the
Guide
Activate and customize the PayPal button on your payment form to ensure a smooth customer experience.
PayPal button
on payment form by setting parameters such as color, shape, and label.
gold PayPal globally recognized gold color, confirmed by research and carefully selected for optimal conversion, enhances your website with PayPal’s renowned recognition and preference.
blue If gold is not suitable for your site, consider using the PayPal blue button, a brand color recognized for fostering a sense of trust and security in the customer experience, as supported by research.
silver
white
black If gold or blue does not match your site’s design, consider using the silver, white, or black buttons, which are less attention-grabbing and thus serve as a secondary color alternative.
It provides key information such as the payer’s email, first name, and last name, crucial for identifying the payer in the transaction process.
Subscribe to these PayPal button events to track the transaction status:
PayPal button events params
Expand all
Description
The event marks the initiation of order processing, signaling the start of the payment process. It lays the foundation for transaction tracking.
The subsequent order-processed event completes the cycle by delivering a status-response with details on the order and transaction, crucial for analytics and customer notifications.
Description
Confirms the order’s approval for processing, signaling transaction progression.
Description
Marks transaction completion with a status-response detailing the order.
Description
Indicates an attempt to reprocess an already completed order, aiming to prevent duplicates.
Description
Signals that the PayPal button is operational and ready for customer’s action.
Description
Alerts to issues with PayPal button rendering or initialization, crucial for troubleshooting.
Description
Triggered by customer’s interaction with the PayPal button, useful for tracking engagement.
Description
It occurs when a payment process is cancelled post-initiation.
Specific errors may occur when a PayPal payment attempt using a PayPal button fails.
0.02Order expired This error occurs when an order is created during PayPal button initialization, but no payment attempt is made. PayPal orders are generated with each successful initiation request for the PayPal button, but customers may choose to pay via card or select an alternative payment method instead of PayPal. The PayPal button remains active for 7 days. If no PayPal payment attempt is made during this time, the order is automatically declined with the 0.02 error code.
2.02Invalid amount The request with a zero-amount payment is declined. It can be triggered by various factors, encompassing incorrect input, transaction limits set by the acquirer or card issuer, or restrictions on specific card types such as prepaid cards.
3.11Recurring payment cancelled It occurs when a subscription or 1-click payment is declined. This error indicates that the next subscription or a 1-click payment using a recurring token via this payment method is not allowed and should not be retried.
5.10Processor does not support requested API method This error occurs when the processor does not support the requested API method. Make sure you use only supported methods when communicating with the gateway.
Besides the listed errors, there are cases when, after using the PayPal button, the customer is asked to enter payment card details. This usually happens because the PayPal account has an invalid funding source:
No card or bank account is linked to the PayPal account
Insufficient funds
In some situations, the tokenized 1-click payment flow may be triggered instead. This happens when the customer previously paid with PayPal and an active payment token is available.
Consider testing payments in a PayPal sandbox environment to simulate failed transactions. This helps ensure your system can handle negative flows and other scenarios correctly.
Billing agreement
A billing agreement is a contract between the customer and your platform. It permits you to withdraw funds from their account in the future, eliminating the need for them to log into their PayPal account for each subsequent transaction. This streamlines the payment process, ensuring seamless transactions without additional sign-ins.
This token is especially useful for Merchant Initiated Transactions (MITs) in subscription models, as it allows for automatic, recurring billing without necessitating the customer’s presence on the site.
This seamless integration offers convenience for both the merchant and the customer, ensuring transactions are smooth and uninterrupted.
Create payment token
To create a payment token via Solidgate, initiate a billing agreement with PayPal that returns a token following a successful customer’s approve, set the
amount
to
0
.
Upon successful script loading, a PayPal button is rendered on the page for payment. Once a customer authorizes the payment, the event contains the order and customer information.
Importantly, save order:
token
for future recurring payments.
Subsequent charges
Make recurring charges following the methodology outlined in Solidgate’s documentation for standard
recurring
API
billing procedures, comply with all validation and requirements set.
Use the previously obtained payment token to initiate the transaction.
PayPal’s Buy Now Pay Later (BNPL), also referred to as Pay Later offers, allows customers to split purchases into multiple payments, while the merchant receives the full amount upfront. This improves affordability for customers and drives higher conversion and average order value for merchants.
BNPL is available as part of the PayPal Checkout experience. After selecting PayPal at checkout and logging in, eligible customers are presented with Pay Later options. PayPal assumes the credit risk and immediately pays the merchant the full purchase amount. The customer then repays PayPal over time based on the chosen installment plan.
Pay Later includes the following integration components:
Pay Later Button – the actual PayPal Later button
Pay Later Messaging – messages across the customer journey highlighting installment options
Per PayPal compliance guidelines, the Pay Later messaging and button should be shown across multiple locations to maximize visibility and eligibility checks:
Homepage: Announce the availability of PayPal Pay Later on your store.
Product list & product detail pages: Show estimated installment amounts to encourage higher-value purchases.
Cart page: Remind users they can split payments.
Checkout page: Clearly surface BNPL as a payment option.
Integration flow
BNPL is enabled via the Billing with purchase model, which mirrors the logic of Billing agreements and integrates seamlessly with Solidgate’s existing PayPal setup.
feature is activated by prior agreement through Merchant support
Use the same integration path as the standard
Guide
Understand how to integrate the payment form into your product.
payment form
, set it up as a option on the
Guide
Comprehensive guide for personalizing your payment page.
payment page
, or generate a
Guide
Use payment link to sell online without an integration.
payment link
.
Follow PayPal's messaging and placement rules to highlight the Pay Later feature at all stages of the purchase.
Available in only seven countries Australia, Germany, Spain, France, UK, Italy, USA
Minimum payment threshold usually applies, varies by country
Localized loan terms differ by country, including interest rates and durations
Merchants must redirect users to a PayPal review page before checkout to meet compliance standards