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

chore: [#176983007] Restore payment attempt saving #2846

Merged
merged 59 commits into from
Feb 25, 2021

Conversation

Undermaken
Copy link
Contributor

@Undermaken Undermaken commented Feb 24, 2021

⚠️ THIS PR DEPENDS ON #2845

Short description

This PR restores the saving of a payment attempts.
With the new 3DS2 we have different signals to know if a payment ends successfully or not

Undermaken and others added 30 commits February 18, 2021 12:38
…76981421-payment-flow-3ds2

# Conflicts:
#	ts/components/wallet/PayWebViewModal.tsx
remove useless actions from analytics
get payment psp from store instead from wallet
dispatch end web view distinguish from exit gracefully or by user
@pagopa-github-bot pagopa-github-bot changed the title [#176983007] Restore payment attempt saving chore: [#176983007] Restore payment attempt saving Feb 24, 2021
@pagopa-github-bot
Copy link
Collaborator

pagopa-github-bot commented Feb 24, 2021

Affected stories

  • ⚙️ #176983007: Allineare al 3DS2 il flusso di memorizzazione del tentativo di pagamento

Generated by 🚫 dangerJS against 192488f

@codecov
Copy link

codecov bot commented Feb 24, 2021

Codecov Report

Merging #2846 (192488f) into master (6746a45) will decrease coverage by 0.00%.
The diff coverage is 57.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2846      +/-   ##
==========================================
- Coverage   57.04%   57.03%   -0.01%     
==========================================
  Files         824      824              
  Lines       22866    22888      +22     
  Branches     4287     4295       +8     
==========================================
+ Hits        13043    13055      +12     
- Misses       9736     9746      +10     
  Partials       87       87              
Impacted Files Coverage Δ
...eens/wallet/payment/ConfirmPaymentMethodScreen.tsx 61.94% <ø> (ø)
ts/store/actions/wallet/payment.ts 100.00% <ø> (ø)
ts/store/reducers/entities/payments.ts 95.00% <ø> (ø)
ts/utils/payment.ts 56.80% <0.00%> (-1.40%) ⬇️
ts/screens/wallet/PaymentHistoryDetailsScreen.tsx 34.69% <23.07%> (-1.36%) ⬇️
ts/store/reducers/payments/history.ts 93.75% <88.88%> (+4.27%) ⬆️
ts/store/reducers/wallet/outcomeCode.ts 72.41% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6746a45...192488f. Read the comment docs.

@Undermaken Undermaken marked this pull request as ready for review February 24, 2021 21:33
@@ -109,7 +112,21 @@ class PaymentHistoryDetailsScreen extends React.Component<Props> {
color: paymentInfo.color,
description: paymentInfo.text11
};
const errorDetail = fromNullable(getErrorDescription(payment.failure));
const errorDetail = fromNullable(getErrorDescription(payment.failure)).alt(
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a comment here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added within 192488f

@debiff debiff self-requested a review February 25, 2021 15:59
@debiff debiff merged commit 9d88060 into master Feb 25, 2021
@fabriziofff fabriziofff deleted the 176983007-restore-payment-attempt-save branch January 21, 2022 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants