How to create a subscription by getting card details without worrying about PCI compliance and also charging the customers on weekly, monthly or yearly basis?
Chargebee provides create new subscription API through which subscriptions can be created and even card details of the subscriber can also be passed. In this case, you should take care of the PCI compliance yourself.
To get out of PCI compliance, use Chargebee's Checkout New Hosted Page API to get the card details of the subscription and create a subscription in Chargebee.
Once the subscription is created, Chargebee takes care of billing the customer as per the plan interval period.
Check out our sample app & tutorials on how to use the "Checkout New" API and create a subscription in Chargebee:
To know more about PCI compliance click here.