question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for autoPaymentOff accounts in CompletionUserRequestEntitlement

See original GitHub issue

If an account has a tag with the autoPaymentOff feature (like MANUAL_PAY or AUTO_PAY_OFF), an invoice generation won’t trigger an automatic payment.

Waiting for callCompletion when creating a subscription, etc. will always timeout in this case.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
pierrecommented, Aug 4, 2016

Thanks for the details, we’ll take a look (could be related to @sbrossie’s current work).

1reaction
pierrecommented, Aug 4, 2016

I can’t find a way to verify that the InvoicePaymentError event has occurred.

Actually, don’t try to verify this event was generated - instead, verify:

  1. The invoice was generated
  2. There is no payment attempt for that account
  3. The call didn’t timeout (returned 2xx - probably 201?)

But in that case the API is being used to create a new subscription, and I need to test my JAX-RS through the killBillClient, am I right?

Yup (because your changes affect the JAX-RS endpoint).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Locked box vs. completion accounts | EY - Global
The completion accounts mechanism adds complexity to a transaction and is more cost-intensive. The final purchase price will only be ...
Read more >
JPM-Access-Entitlement-Descriptions-Mapping-and-Options ...
The purpose of this guide is to provide product-level detail for reference when assigning or modifying product entitlements to a user or user...
Read more >
Entitlement Policies - Salesforce Help
Entitlement policies are simple entities that bring together buyer groups and products. They define which products a buyer group can see and if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found