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

Bacs Direct Debit component #568

Merged
merged 56 commits into from Dec 10, 2020
Merged

Bacs Direct Debit component #568

merged 56 commits into from Dec 10, 2020

Conversation

sponglord
Copy link
Contributor

Summary

Implementing the Bacs Direct Debit components (directdebit_GB)

Tested scenarios

Fixed issue: COWEB-808

@sponglord sponglord marked this pull request as draft December 3, 2020 11:55
@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2020

Size Change: +1.75 kB (1%)

Total Size: 128 kB

Filename Size Change
packages/lib/dist/adyen.js 128 kB +1.75 kB (1%)

compressed-size-action

@lgtm-com
Copy link

lgtm-com bot commented Dec 4, 2020

This pull request introduces 1 alert when merging 08b2700 into b39291a - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

sponglord and others added 10 commits December 9, 2020 08:48
Co-authored-by: Marc Pérez <marc.pereziribas@adyen.com>
Co-authored-by: Marc Pérez <marc.pereziribas@adyen.com>
Co-authored-by: Marc Pérez <marc.pereziribas@adyen.com>
Co-authored-by: Marc Pérez <marc.pereziribas@adyen.com>
Co-authored-by: Marc Pérez <marc.pereziribas@adyen.com>
Co-authored-by: Marc Pérez <marc.pereziribas@adyen.com>
# Conflicts:
#	packages/lib/src/components/BacsDD/components/BacsInput.scss
Co-authored-by: Marc Pérez <marc.pereziribas@adyen.com>
@sonarcloud
Copy link

sonarcloud bot commented Dec 10, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sponglord sponglord merged commit 50f6c21 into master Dec 10, 2020
@sponglord sponglord deleted the feature/BacsDD branch December 10, 2020 09:52
@marcperez marcperez mentioned this pull request Dec 14, 2020
pabloai pushed a commit that referenced this pull request Dec 30, 2020
* BacsDD - first draft

* Validating holderName, bankAccount number & shopperEmail

* Added bankLocationId field

* Added checkbox validation

* Added second 'confirm' state, class names and aria attributes

* Added 'Edit' button to confirm page

* Hide valid ticks on confirm page

* Fixed validation rules for email and name (return object is same as for other rules)

* BacsDD calls setStatus on BacsInput to trigger re-render

* Added prop to interface

* BacsResult (voucher) - first draft

* Adjusted styling on result

* Latest files so we can make a Draft PR

* Adjusted input widths for bankAccount and locationId

* Removed billingAddress from /payments call now that API has been updated

* Added lock icon and amount to pay button

* BacsDD removing preSubmit function & own PayButton

* BacsDD cleaning up state & status change mechanism

* BacsDD cleaning up render method

* changed error msg text

* Internalising state into the BacsInput comp

* Removed checks for undefined status

* Add Bacs to the vouchers playground

* BacsInput uses hook to store local isValid state

* removed unnecessary return

* Added possibility to specify text on Voucher download button

* Fixing CI error

* Fix ConsentCheckbox on Bacs Component

* Fixing CI error

* Added translation keys

* Add bacs to components playground

* Merging changes from master

* Can now make payment when component is standalone

* Removed BacsResult.scss (not needed after merge from master)

* Restoring BacsInput.scss and removing BacsResult.scss

* Update packages/lib/src/components/BacsDD/components/BacsInput.scss

Co-authored-by: Marc Pérez <marc.pereziribas@adyen.com>

* Update packages/lib/src/components/BacsDD/components/BacsInput.scss

Co-authored-by: Marc Pérez <marc.pereziribas@adyen.com>

* Update packages/lib/src/components/BacsDD/components/BacsInput.scss

Co-authored-by: Marc Pérez <marc.pereziribas@adyen.com>

* Update packages/lib/src/components/BacsDD/components/BacsInput.scss

Co-authored-by: Marc Pérez <marc.pereziribas@adyen.com>

* Update packages/lib/src/components/BacsDD/components/BacsInput.scss

Co-authored-by: Marc Pérez <marc.pereziribas@adyen.com>

* Update packages/lib/src/components/BacsDD/components/BacsInput.scss

Co-authored-by: Marc Pérez <marc.pereziribas@adyen.com>

* Restoring BacsResult.scss and using .scss vars

* Restoring BacsResult.scss and using .scss vars (post merge)

* Update packages/lib/src/components/BacsDD/components/BacsInput.scss

Co-authored-by: Marc Pérez <marc.pereziribas@adyen.com>

* Fixed UI flash when Pay pressed. The form, in an editable state, was shown in the time between submitting the payment and the action being handled

* BacsDD.tsx overrides UIElement.payButton

* Restoring original ThreeDS2Challenge.tsx error message

* Adding bacsResult to Voucher playground

* First tests for BacsInput.tsx

* First tests for BacsInput.tsx (added to PR)

* Removed unused imports

Co-authored-by: marcp <marc.pereziribas@adyen.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants