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

Ap 256 payment data missing #116

Merged
merged 3 commits into from
Jan 19, 2021

Conversation

bortefi
Copy link
Contributor

@bortefi bortefi commented Jan 18, 2021

Summary

Store payment data in DB (session has data loss)
Update 3DS2 for payment data handling
Update 3DS1 payment/details data handling parameter mismatch for request

Tested scenarios

  • 3DS1: Mastercard Kredikarte (scheme)
    • Enrolled card: Mastercard Kredikarte (scheme)
    • Enrolled card: Maestro Kredikarte (scheme)
    • Card not enrolled: Visa Kredikarte (scheme)
  • 3DS2:
    • Fingerprint Mastercard Kredikarte (scheme)
    • ChallengeShopper: Visa Kredikarte (scheme)
    • Frictionless: Visa Kredikarte (scheme)

Fixed issue: #108

@@ -144,7 +144,7 @@ private function paymentDetails(string $post, string $detail)
$this->Front()->Plugins()->ViewRenderer()->setNoRender();

$postData = $this->Request()->getPost();
$threeDsDetail = (string) $postData['details'][$detail] ?? '';
$threeDsDetail = (string) ($postData['details'][$detail] ?? $postData['details'][$post] ?? '');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@acampos1916
This is BC compatible way for fetching data from web components library data,
before: underscore, new (dot).
Example: threeds2_fingerprint -> threeds2.fingerprint

@acampos1916 acampos1916 merged commit 17aff60 into Adyen:develop Jan 19, 2021
@bortefi bortefi deleted the AP-256-payment-data-missing branch January 19, 2021 16:09
@acampos1916 acampos1916 mentioned this pull request Jan 20, 2021
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.

3 participants