cancel
Showing results for 
Search instead for 
Did you mean: 

My business a/c & recurring billing

Highlighted
Contributor

My business a/c & recurring billing

Hi there. My head of tech informed me that the longest period we can bill for our service via PayPal is 12 months. We would like to offer 1 year, 2 years or 3 years. Is this possible?

1 REPLY 1
Esteemed Advisor

Re: My business a/c & recurring billing

@Esvge 

 

If the smart buttons are used, fiddle around with the billing cycle's interval_unit variable, "Year" and the frequency variable's interval_count as 1, 2, or 3.  Or flip it to Month (if it can't do year) then 12, 24, 36.

 

 "id": "P-2UF78835G6983425GLSM44MA",
      "product_id": "PROD-6XB24663H4094933M",
      "name": "Basic Plan",
      "status": "ACTIVE",
      "description": "Basic plan",
      "billing_cycles": [
        {
          "frequency": {
            "interval_unit": "MONTH",
            "interval_count": 1
          },
          "tenure_type": "TRIAL",
          "sequence": 1,
          "total_cycles": 1
        },
        {
          "pricing_scheme": {
            "fixed_price": {
              "currency_code": "USD",
              "value": "10.0"
            }
          },
          "frequency": {
            "interval_unit": "MONTH",
            "interval_count": 1
          },
          "tenure_type": "REGULAR",
          "sequence": 2,
          "total_cycles": 12
        }

 

Not sure if it can all be in one button or multiple buttons for the customer to choose from. Be sure to sandbox it first.

 

My expertise with coding isn't all that high, just self-taught trial, error and intuition.

 

https://developer.paypal.com/docs/subscriptions/integrate/

https://developer.paypal.com/docs/subscriptions/full-integration/#

https://developer.paypal.com/docs/subscriptions/full-integration/plan-management/#


Kudos & Solved are greatly appreciated. 🙂