Skip to content

Conversation

@rafaelstz
Copy link

WHY are these changes introduced?

Fixes #0000

WHAT is this pull request doing?

It's adding 7 trial days as part of the example recurrent and one-time charge.

Checklist

Note: once this PR is merged, it becomes a new release for this template.

  • I have added/updated tests for this change
  • I have made changes to the README.md file and other related documentation, if applicable

Copy link

@sebastianpisula sebastianpisula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested, works!

Copy link

@Maras0830 Maras0830 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is helpful, I also adjusted the code like this

Copy link

@nilsringersma nilsringersma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @rafaelstz , I was working on implementing trial days and came across this PR. I like the approach and it works great. Small issue with assigning the key/value pairs in the arrays inside the Ensurebilling class. Please see the suggestions.

Thanks!

rafaelstz and others added 3 commits July 30, 2023 16:02
Co-authored-by: Nils Ringersma <nilsringersma@gmail.com>
Co-authored-by: Nils Ringersma <nilsringersma@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable trial period billing using trialDays parameter in EnsureBilling class

4 participants