hyperswitch-web icon indicating copy to clipboard operation
hyperswitch-web copied to clipboard

feat: paypal braintree

Open AbhishekChorotiya opened this issue 2 months ago • 1 comments

Type of Change

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

Description

Added PayPal via Braintree integration with a shared dynamic script loader. Introduced ScriptsHandler for deduped script loading, added Braintree types/helpers, and removed legacy static scripts for cleaner PayPal flow.

How did you test it?

Tested locally

https://github.com/user-attachments/assets/964a4431-af04-4c07-abcf-e992fc12818d

Checklist

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

AbhishekChorotiya avatar Oct 13 '25 04:10 AbhishekChorotiya

Review changes with  SemanticDiff

Changed Files
File Status
  public/build.html  0% smaller
  src/Hooks/ScriptsHandler.res Unsupported file format
  src/Payments/PayPalBraintree.res Unsupported file format
  src/Payments/PayPalBraintreeLazy.res Unsupported file format
  src/Payments/PaymentRequestButtonElement.res Unsupported file format
  src/Payments/PaypalSDK.res Unsupported file format
  src/Payments/PaypalSDKHelpers.res Unsupported file format
  src/Types/BraintreeTypes.res Unsupported file format
  src/Types/PaypalSDKTypes.res Unsupported file format
  src/Types/SessionsType.res Unsupported file format
  src/Utilities/BraintreeHelpers.res Unsupported file format
  src/Window.res Unsupported file format
  src/hyper-loader/Hyper.res Unsupported file format

semanticdiff-com[bot] avatar Oct 13 '25 04:10 semanticdiff-com[bot]