cancel
Showing results for 
Search instead for 
Did you mean: 

Buy a subscription multiple times

Options
UUser789
Contributor
Posted on

Hello,

 

The customer should be able to book a subscription (same subscription ID) multiple times, 1 checkout for each subscription.

Is this possible if yes how or if no are there other means for this?

If I do this now, the first payment(subscription ) will success return in a ACTIVE state,  the second one got returned state=EXPIRED, maybe i forgot somethin while creating plans and products?

 

If there is already an article about this, I am looking forward to links.
Greetings

1 REPLY 1

Buy a subscription multiple times

Options
RJ404
Contributor

its default on, EXPIRE is auto set if total_cycles =1.

To build a infinte multiple buayable subscription use total_cyclces = 0 lilke so

        {
          "frequency": {
            "interval_unit": "MONTH",
            "interval_count": 1
          },
          "tenure_type": "REGULAR",
          "sequence": 1,
          "total_cycles": 0,
          "pricing_scheme": {
            "fixed_price": {
              "value": "90",
              "currency_code": "EUR"
            }
          }
        }

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.