Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Stripe
Stripe
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 39
    • Issues 39
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Extensions
  • StripeStripe
  • Merge Requests
  • !62

Merged
Opened Sep 16, 2019 by Rich@artfulrobotDeveloper

Fix issue when script is reloaded by changes of payment processors

  • Overview 0
  • Commits 1
  • Changes 1

There was an issue that occurred when user changes mind between stripe and other payment processor.

That causes the stripe script to be loaded and excecuted multiple times, which has side effects.

This change ensures only one copy of the script results in DOM objects and handles 'booting' the Stripe Elements.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: extensions/stripe!62
Source branch: fix-script-reload-issue