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

[PW-6238] Set authorized amount in sales_order_payment #1394

Merged
merged 7 commits into from
Mar 28, 2022
Merged

Conversation

michaelpaul
Copy link
Contributor

Description

The amount_authorized field in sales_order_payment table was not getting populated for Adyen HPP, but the credit cards are already initialized in Magento Payment.php so the table is updating properly.

With this PR when receiving a AUTHORISATION notification and the amount is full authorised, then the amount is updated in the sales_order_payment table.

Tested scenarios

Tested for CC and IDeal.

The main workflow was running twice (push + pull_request).
@@ -1,6 +1,6 @@
name: Main CI workflow

on: [push, pull_request]
on: [pull_request]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Running this workflow on push + pull_request causes duplicated runs when members of the repo push to a pull_request.

AlexandrosMor
AlexandrosMor previously approved these changes Mar 17, 2022
Helper/Webhook.php Outdated Show resolved Hide resolved
tnaber
tnaber previously approved these changes Mar 21, 2022
@sonarcloud
Copy link

sonarcloud bot commented Mar 28, 2022

Kudos, SonarCloud Quality Gate passed!    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

@michaelpaul michaelpaul merged commit bb5e1fb into develop Mar 28, 2022
@michaelpaul michaelpaul deleted the PW-6238 branch March 28, 2022 08:24
@Morerice Morerice mentioned this pull request Mar 28, 2022
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

5 participants