- User selects a plan, then you create a subscription in Paytm and get the Transaction Token.
- Create a deep-link using the Transaction Token and convert this deep-link into a QR image using any QR generator tool/function.
- Display the QR to your customer on your TV app to scan using the Paytm app.
- The customer enters the payment details to complete the authorization on the Paytm App.
- Use the Subscription S2S Callback or Fetch Subscription Status API to confirm the subscription status and display the confirmation to the user on your TV App.
Subscription activation - QR Code
Demo
Overview
Integration Steps
-
Creating a deep link
Create a deep link using the Transaction Token, MID, Order ID, & first subscription payment amount in the format below:
paytmmp://subscriptionpayment?orderId=YOUR_ORDERID_HERE&txnToken=YOUR_TXN_TOKEN_HERE&mid=YOUR_MID_HERE&amount=1999.99&appInvokeDevice=DEEPLINKQR
E.g. paytmmp://subscriptionpayment?orderId=OREDRID_98765&txnToken= f0bed899539742309eebd8XXXX7edcf61588842333227&mid= INTEGR7769XXXXXX9383&amount=199&appInvokeDevice=DEEPLINKQR
Later, convert the deep-link into a QR image and display it on your TV app. -
Subscription authorisation and payment completion
Thereafter, the customer scans the payment from the Paytm app to complete the subscription activation and first payment on the Paytm app. -
Fetching the latest subscription status
After the successful payment, Paytm will provide a callback to your server. Alternatively, you can use the Fetch Subscription Status API to check the status of the subscription and display the confirmation on your TV app accordingly