Subscription

What is contodeo ? >> Examples >>

Recurring payment

 

This exemple illustrate how to display subscription payment form. You have to specify the wallet n whitch the subscription will be registered. The card will also be automatically attached to this wallet. A susbscription is compound of payment plan define by plan_id parameter  and a product to bill define by the product_id parameter. Both of this parameters have to be specified to make a subscription. Products and plans have to be provisionned before using the REST API reand the specification documentation for more information on this topic.

 

Init json : Subscription


For security purpose the purchase initiation have to be done from server side. Do not initial purchase from client browser using ajax call. In this case you will expose your public and secret key, such any hacker could make request for you.


The page description: Empty html

The result

© W-HA 2019. Tous droits réservés - www.contodeo.com - Mentions légales