Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Stripe Stripe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 75
    • Issues 75
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Extensions
  • StripeStripe
  • Merge requests
  • !147

Normalize api

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged jamie requested to merge jamie/stripe:normalize-api into 6.6 Mar 03, 2021
  • Overview 1
  • Commits 8
  • Pipelines 0
  • Changes 9

This is a major refactoring of the API.

I am removing the StripeSubscription api entirely - since that DAO no longer exists. There were two actions in it that were only used for upgrading previous versions, so those are gone for ever. And there was an import action. I've replicated the import action as Stripe.Importsubscription.

In addition, I've normalized all of the Import actions, so we have:

  • Importallsubscriptions
  • Importsubscriptions
  • Importsubscription
  • Importallcustomers
  • Importcustomers
  • Importcustomer

And lastly I've added:

  • Importcharge

Combined with the new Listevents, we should now be able to run Listevents, and any missing or out of sync charge can be fixed using either Ipn (if we still have a notification) or Importcharge if we no longer have a notification.

This is a WIP because I haven't fully tested it all yet. If you are planning on releasing the next version, it might be best for this to go into the version after the next release.

Edited Apr 06, 2021 by mattwire
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: normalize-api