hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

feat(cypress): add pix payment method to adyen

Open pixincreate opened this issue 1 year ago • 0 comments

Type of Change

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

Description

Added Pix payment method type to Cypress. Auto formatted by prettier

connector: "adyen
payment_method: "bank_transfer"
payment_method_type: "pix"

Flow:

  • Create a payment intent
  • Confirm
  • Validate QR

[!NOTE] SDK says payment is processing, but on dashboard, even after force_psync, the status remains as requires_customer_action. One would also need to login to Adyen dashboard and manually move the status from offer to sale to move the payment status to processing Adyen login is behind a 2FA

Additional Changes

  • [ ] This PR modifies the API contract
  • [ ] This PR modifies the database schema
  • [ ] This PR modifies application configuration/environment variables

Motivation and Context

NIL

How did you test it?

image

Checklist

  • [ ] I formatted the code cargo +nightly fmt --all
  • [ ] I addressed lints thrown by cargo clippy
  • [x] I reviewed the submitted code
  • [ ] I added unit tests for my changes where possible

pixincreate avatar May 17 '24 12:05 pixincreate