recurring payment not billed

marco_sr
New Community Member

my company has develop a recurring payment system using Billing Agreements and Plans providing 14 days of free trial and after these 14 days a one time payment of a fee for the full activation of the license.

Checking the payment status of one of our subscriber with this call

https://api-m.paypal.com/v1/payments/billing-agreements/AGREEMENT_ID

it results that the next_billing_date is expired and no payment has been attempted

The Agreement object retrieved by the call 

1 cycles_remaining, next_billing_date yesterday, failed_payment_count 0 and no outstanding balance.

The only "strange" thing is payer.status=unverified.

(For test purpose, in this case, the demo period was limited to 3 days)

 

{
  "id": _ID_,
  "state": "Active",
  "description": "services activation 20210329-V1",
  "start_date": "2021-04-02T23:34:13Z",
  "payer": {
    "payment_method": "paypal",
    "status": "unverified",
    "payer_info": {
      ...
    }
  },
  "shipping_address": {
    ...
  },
  "plan": {
  "payment_definitions": [
    {
      "type": "TRIAL",
      "frequency": "DAY",
      "amount": {
      "currency": "EUR",
      "value": "0.00"
    },
    "cycles": "1",
    "charge_models": [
      {
        "type": "TAX",
        "amount": {
          "currency": "EUR",
          "value": "0.00"
        }
      },
      {
        "type": "SHIPPING",
        "amount": {
        "currency": "EUR",
        "value": "0.00"
      }
    }
    ],
    "frequency_interval": "3"
  },
  {
    "type": "REGULAR",
    "frequency": "MONTH",
    "amount": {
      "currency": "EUR",
      "value": "96.38"
    },
    "cycles": "1",
    "charge_models": [
      {
        "type": "TAX",
        "amount": {
          "currency": "EUR",
          "value": "0.00"
        }
      },
      {
        "type": "SHIPPING",
        "amount": {
        "currency": "EUR",
        "value": "0.00"
      }
    }
    ],
    "frequency_interval": "1"
  }
  ],
  "merchant_preferences": {
    "setup_fee": {
      "currency": "EUR",
      "value": "0.00"
    },
    "max_fail_attempts": "1",
    "auto_bill_amount": "NO"
  }
},
"links": [
  ...
 ],
"agreement_details": {
  "outstanding_balance": {
    "currency": "EUR",
    "value": "0.00"
  },
  "cycles_remaining": "1",
  "cycles_completed": "0",
  "next_billing_date": "2021-04-06T10:00:00Z",
  "failed_payment_count": "0"
  }
}

 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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