Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[_]: feat/updating the name of the params and functions of payments #242

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

masterprog-cmd
Copy link
Contributor

@masterprog-cmd masterprog-cmd commented Sep 6, 2024

Updating the names for better understanding:
Renamed functions:

  • createCustomer -> createOrGetCustomer

Parameters (from createSubscription function):

  • quantity -> seatsForBusinessSubscription

Other cahnges:

  • Use get instead of post to get the customer Id endpoint
  • Use post instead of get to get the client secret of the payment intent.

@masterprog-cmd masterprog-cmd added the enhancement New feature or request label Sep 6, 2024
@masterprog-cmd masterprog-cmd self-assigned this Sep 6, 2024
@masterprog-cmd masterprog-cmd marked this pull request as ready for review September 9, 2024 06:50
@masterprog-cmd masterprog-cmd marked this pull request as draft September 9, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants