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. Configuration
  1. Payments
  2. Payment Gateways and Configuration
  3. Articles and FAQ
  4. Configuration

How to add payment methods in a subscription?

Problem Statement

You want to know how to add payment methods in a subscription.

Solution

This article covers:

Adding a payment method to a customer

Assigning subscription specific payment method

Primary & Back up payments

Adding a payment method to a customer:

A customer can add their payment method depending on the sign-up flow and the integration option you have with Chargebee.

Generally collected at the time of signup during the purchase, however, the payment method can also also be collected after the subscription/customer is created in Chargebee.

  • Using Chargebee Checkout - if you are using our Checkout pages, the payment method can be collected during sign up.

  • Trial Sign up without a card - if are running a free trial and do not wish to collect the payment details during sign up, you can collect the payment details by sending an email to the customer with the Update Payment or Pay Now link.

  • Through API - if you have a custom sign up flow configured on your end and are creating subscriptions in Chargebee using our APIs, you could collect the payment details on your end and pass it to Chargebee using the Payment Sources APIs.

The payment method for a customer is stored under the Customer resource and you can view the details on the customer details page.

Note that a customer can also have more than one payment method and can be used as a backup or an alternative payment option. Here's more on that.

Support for multiple payment methods is available from our Rise Plan & above.

Assigning a payment method for a subscription

If a customer record has multiple payment methods, by default, the primary payment method is used by all the subscriptions for that customer.

You can also choose to assign a different payment method for each subscription. This can come in handy in cases where you have a subscription for a large amount(such as an annual subscription) which you prefer to pay via direct debit. And the second subscription for a smaller price which you would like to pay using your credit card.

To do this, scroll down to the subscriptions section on the Customer details page and click on the Change option for "Payment Method Details".

The same can also be done via APIs by updating the payment_source_id parameter for a subscription.

Related Articles

How to setup Apple Pay Sandbox?
Can my customers update their payment method information through the Chargebee customer portal?
How do I use Apple Pay as a payment method via API?
How to remove excess payments for a customer?
What can I do if the apple pay domain verification fails?
Whom can I contact for Gateway related queries?
How to manually link the refund/dispute from Stripe Webhooks to Chargebee invoices?
How to let my customer update their payment method during transaction failures?
Can we have a different payment method for each subscription?
How can I choose to display Direct Debit as a payment option on checkout for my customers?
How to configure BlueSnap with Chargebee?
How to get a list of transactions that are Chargebacks?
How to filter all the credit card transaction for a particular period?
Bulk Electronic Clearing System (BECS) and Pre-Authorized Debit (PAD)
Payment methods - IBAN not being accepted
Why is the Apple Pay not appearing on the checkout?
Move payment method from one customer to another
Difference of $0.01 on the payments made towards invoices
What are the mandatory fields have to configured for Bank of America payment receipts?
How to test Global Payment in Chargebee Test Environment?
How can I mark a payment method present at the customer level as primary/backup payment method?
What is Fraud Management in Bank of America?
How to integrate Bluesnap and Chargebee?
How do you delete the payment source for individual customers?
Customer Profile ID or Customer Payment Profile ID not found - Authorize.net
Is it possible to get an export of customers bank account details from Chargebee?
'{plan.name} merge variable does not show up for a few Mollie transactions'
Why is my reported revenue higher than the amount received in my bank?

Show more

Was this article helpful?