I'm working on custom PHP application and we set 1 year ongoing subscription.
1) Is there anyway customer can cancel subscription at any time within active susbscription status.
2) I want to send renewal email 48 hours prior to subscription expire,
Please review the recurring billing documentation. In the documentation, we emphasize that the subscription transactions are not processed at the time the subscription is created:
Subscriptions do not process transactions in real time. Creating a subscription transaction successfully does not guarantee that subscription payments will process through your account successfully.
If you create a subscription with a start date that equals the creation date, the first scheduled payment does not process until after 2:00 a.m. the following day. If you wish to validate your customer’s payment information before creating their subscription in your account, use one of the real-time transaction processing methods...
If you need to verify the credit card before setting up the subscription, the most common method is for you to charge the card for the first payment at the time the customer is setting up the subscription at your site., and then set up the subscription to start charging automatically starting with the second interval.
Thanks for help and providing details. I have another question. If payment is not settled successfully, is there any way we can activate the suspended subscription by updating billing info and charge customer for subscription immediatly. Incase this is not possible what are other solutions, do we need to remove subscription and create new one.