New in Chargebee: Explore Reveal and understand your payment performance end-to-end.Try Now
Docschargebee docs
HomeBillingPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Payment Methods


  • Payment Methods Overview
  • Cards
  • Direct Debit
  • Bank Based Payments
  • Wallets
  • Vouchers
  • Articles and FAQ

Payment Gateways and Configuration


  • Payment Gateways Overview
  • Chargebee Test Gateway
  • Stripe
  • PayPal Payment Services
  • Chargebee Pay
  • Adyen
  • Authorize.net
  • Bambora (formerly Beanstream)
  • Bank of America
  • BluePay
  • BlueSnap
  • Braintree
  • Checkout.com
  • CyberSource
  • dLocal
  • EBANX
  • Ecentric
  • Elavon
  • E-xact Direct Integration
  • eWay Rapid
  • Global Payments
  • GoCardless
  • J.P. Morgan Mobility Payment Solutions
  • Metrics Global
  • Mollie
  • Moneris
  • Network Merchants Incorporated (NMI)
  • Nuvei
  • Orbital (Chase Paymentech)
  • Pay.com
  • Paymill
  • Paystack
  • Pin Payments
  • QuickBooks Payments
  • Razorpay
  • Sage Pay
  • Solidgate
  • Tempus
  • Twikey
  • Windcave
  • Worldline Online Payments(formerly Ingenico)
  • Worldpay
  • Articles and FAQ

Level 2/3 Data Support


  • Level 2/3 Data Support

Advanced Routing


  • Advanced Routing

Dunning


  • Dunning
  • Articles and FAQ

Offline Checkout


  • Offline Checkout
  • Articles and FAQ

Transaction Sync & Invoice Mapping


  • Transaction Sync and Invoice Mapping

Fraud Management


  • Fraud Management

Error Handling


  • Errors with Root Cause and Troubleshooting

Payment Lifecycle Logs


  • Payment Intents
  • Transactions
  • Gateway Activity Logs
  • Gateway Webhook Logs
  • Articles and FAQ

Others


  • Reach (Merchant of Record)
  • Payment Verification
  • Bulk Deletion of Payment Methods
  • Custom Payment Methods
  • Payment Initiator Parameter
  • PSD2 and Strong Customer Authentication
  • RBI e-Mandate
  • RBI Tokenization Regulations
  • Chargeback Management
  • Transaction Descriptors
  • Payment Preferences
  • Visa Trial Rules
  • Mastercard Trial Rules
  • Co-badged Card Compliance
  • Articles and FAQ
  1. Payments
  2. Payment Gateways and Configuration
  3. Articles and FAQ
  4. PayPal
  1. Payments
  2. Payment Gateways and Configuration
  3. Articles and FAQ
  4. PayPal

How to use Paypal as a payment method with API based integration?

Problem Statement

You want to know how to use paypal as a payment method with api based integration.

Solution

This article covers:

Configuring PayPal Express Checkout

PayPal configuration for API based integration with Chargebee

The PayPal Express Checkout gateway allows customers to make payments using their PayPal account.

image

If you're using Chargebee's checkout pages for signup, linking your PayPal account with Chargebee under the payment gateway configuration would suffice. Our checkout pages would display the PayPal payment option on the checkout pages. Click here to know more about configuring PayPal Express checkout in your Chargebee account.

Note: Ensure that you configure the Smart Routing setting allow PayPal to be displayed on the checkout page. For this, navigate to Settings > Configure Chargebee > Payment Gateways and click on Manage Rules as in the screenshot below:

image

If you're using your own checkout workflow and using the API based integration to create subscriptions in Chargebee, here's the process to be followed:

  1. Integrate your site with PayPal Express Checkout. Here's more.

  2. Configure PayPal Express Checkout in Chargebee. Here's more.

  3. Push information to Chargebee whenever a customer adds/updates their payment method. Push Billing Agreement id obtained from PayPal, to Chargebee. Here's more.

Related Articles

Why do I need Reference Transactions?
What is the billing agreement for PayPal Express Checkout?
What is Paypal Express Checkout?
I received a 'PayPal Instant Notification Warning' email from PayPal. What should I do now?
I have a PayPal recurring profile tokens for my customers. Can I use this with Chargebee?
I cancelled my Chargebee account and I still receive notification messages from PayPal. What do I do?
'Paypal gateway error: Please check your submitted credentials: security header is not valid'
How to embed Paypal on the checkout page?
Refund error
An error occurred while redirecting to PayPal
Why BAID cancellations are not auto-handled like "Payment Failures" in Chargebee
What is PayPal error:11451?
How to set up PayPal as an Indian Business?

Show more

Was this article helpful?