Ejegg has uploaded a new change for review.
https://gerrit.wikimedia.org/r/248382
Change subject: Fix name of staged variable risk_score
......................................................................
Fix name of staged variable risk_score
Needs to be rounded off before being sent as 'offset'.
Bug: T114958
Change-Id: I50484f459d1717982a2873b3be5d096611cb3f87
---
M adyen_gateway/adyen.adapter.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface
refs/changes/82/248382/1
diff --git a/adyen_gateway/adyen.adapter.php b/adyen_gateway/adyen.adapter.php
index 672fc62..c6d4f43 100644
--- a/adyen_gateway/adyen.adapter.php
+++ b/adyen_gateway/adyen.adapter.php
@@ -54,7 +54,7 @@
'zip',
'billing_signature',
'hpp_signature',
- 'fraud_score',
+ 'risk_score',
);
}
@@ -521,7 +521,7 @@
protected function stage_risk_score() {
//This isn't smart enough to grab a new value here;
//Late-arriving values have to trigger a restage via addData or
- //this will always equil the risk_score at the time of object
+ //this will always equal the risk_score at the time of object
//construction. Still need the formatting, though.
$this->staged_data['risk_score'] = ( string ) round(
$this->unstaged_data['risk_score'] );
}
--
To view, visit https://gerrit.wikimedia.org/r/248382
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I50484f459d1717982a2873b3be5d096611cb3f87
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Ejegg <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits