Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Add adyen gateway #845

Merged
merged 26 commits into from
Aug 25, 2020
Merged

Add adyen gateway #845

merged 26 commits into from
Aug 25, 2020

Conversation

orzechdev
Copy link
Contributor

@orzechdev orzechdev commented Aug 6, 2020

I want to merge this change because... it adds Adyen payment gateway.

Please test it on 127.0.0.1:3000, as Adyen has client key configured for this particular address, it will not work with localhost:3000.

API branch to test with

master (or adyen_integration already merged)

Screenshots

Pull Request Checklist

  1. All visible strings are translated with proper context.
  2. All data-formatting is locale-aware (dates, numbers, and so on).
  3. The changes are tested.
  4. The code is documented (docstrings, project documentation).
  5. Changes are mentioned in the changelog.

Test Environment Config

API_URI=https://master.staging.saleor.rocks/graphql/

Base automatically changed from refactor/gateways-hoisting to master August 7, 2020 14:17
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 10, 2020 11:50 Inactive
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 10, 2020 12:34 Inactive
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 10, 2020 13:07 Inactive
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 10, 2020 15:04 Inactive
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 11, 2020 09:57 Inactive
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 11, 2020 10:45 Inactive
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 11, 2020 11:27 Inactive
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 11, 2020 11:47 Inactive
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 13, 2020 09:32 Inactive
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 13, 2020 10:32 Inactive
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 13, 2020 11:13 Inactive
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 13, 2020 14:45 Inactive
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 17, 2020 10:43 Inactive
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 17, 2020 11:17 Inactive
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 17, 2020 13:06 Inactive
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 18, 2020 08:56 Inactive
@orzechdev
Copy link
Contributor Author

Locally all tests passed. Staging tests did not pass due to bug on staging.
Zrzut ekranu 2020-08-18 o 11 08 50

@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 18, 2020 09:15 Inactive
@orzechdev orzechdev marked this pull request as ready for review August 18, 2020 09:28

useEffect(() => {
if (dropin) {
(formRef?.current as any)?.addEventListener("submitComplete", () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does this event come from?

Copy link
Contributor Author

@orzechdev orzechdev Aug 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It comes from CheckoutReviewSubpage component - in other words submitComplete is called when a user clicks the complete checkout button (in the case when gateway may require additional actions like 3d secure confirmation, otherwise completeCheckout method from SDK is called immediately - moreover probably such an event will need to be used also when we will be implementing 3d secure for Stripe, Braintree or other gateways).

@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 24, 2020 10:24 Inactive
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 24, 2020 12:23 Inactive
@patrys
Copy link
Member

patrys commented Aug 24, 2020

Task linked: CU-7grfen CVC Declined

@patrys
Copy link
Member

patrys commented Aug 24, 2020

Task linked: CU-7guf3e Unable to do a checkout on FF

Copy link
Member

@michalina-graczyk michalina-graczyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please wait with the merge until QA will do re-testing of all fixed issues.

@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 25, 2020 09:55 Inactive
@github-actions github-actions bot temporarily deployed to feature-adyen-gateway August 25, 2020 10:19 Inactive
@orzechdev orzechdev merged commit a20bca2 into master Aug 25, 2020
@orzechdev orzechdev deleted the feature/adyen-gateway branch August 25, 2020 13:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants