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

fix: paypal flow fixed for one click handler #711

Merged
merged 5 commits into from
Oct 4, 2024
Merged

Conversation

sakksham7
Copy link
Contributor

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

In case of merchant passing sdkHandleOneClickConfirmPayment as false , paypal button was not rendering as the makeOneClickHandlerPromise was attached before the on click of the paypal button, that has been fixed by moving it to the createOrder() section of paypal

How did you test it?

By passing sdkHandleOneClickConfirmPayment as false and checking the paypal flow.

Checklist

  • I ran npm run re:build
  • I reviewed submitted code
  • I added unit tests for my changes where possible

@sakksham7 sakksham7 added the Ready for Review PR with label Ready for Review should only be reviewed. label Oct 3, 2024
@sakksham7 sakksham7 self-assigned this Oct 3, 2024
Copy link

Review changes with SemanticDiff.

@PritishBudhiraja PritishBudhiraja merged commit 09a8470 into main Oct 4, 2024
3 checks passed
@PritishBudhiraja PritishBudhiraja deleted the one-click branch October 4, 2024 10:44
@github-actions github-actions bot added Closed Label will be automatically added when the PR will get merged to main and removed Ready for Review PR with label Ready for Review should only be reviewed. labels Oct 4, 2024
akash-c-k pushed a commit that referenced this pull request Oct 4, 2024
## [0.91.7](v0.91.6...v0.91.7) (2024-10-04)

### Bug Fixes

* paypal flow fixed for one click handler ([#711](#711)) ([09a8470](09a8470))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed Label will be automatically added when the PR will get merged to main
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants