r79267 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79266‎ | r79267 | r79268 >
Date:17:16, 30 December 2010
Author:awjrichards
Status:deferred
Tags:
Comment:
Partially reverted r79212 to replace 'payflowpro_gateway-error-msg-card_num' msg and reinstated it in the validation method of payflowpro_gateway.bod.php - I mistakenly thought this was deprecated
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php
@@ -295,7 +295,7 @@
296296 'city' => wfMsg( 'payflowpro_gateway-error-msg-city' ),
297297 'state' => wfMsg( 'payflowpro_gateway-error-msg-state' ),
298298 'zip' => wfMsg( 'payflowpro_gateway-error-msg-zip' ),
299 - 'card_num' => wfMsg( 'payflowpro_gateway-error-msg-card-num' ),
 299+ 'card_num' => wfMsg( 'payflowpro_gateway-error-msg-card_num' ),
300300 'expiration' => wfMsg( 'payflowpro_gateway-error-msg-expiration' ),
301301 'cvv' => wfMsg( 'payflowpro_gateway-error-msg-cvv' ),
302302 );
Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.i18n.php
@@ -60,6 +60,7 @@
6161 'payflowpro_gateway-error-msg-state' => 'state',
6262 'payflowpro_gateway-error-msg-zip' => 'postal code',
6363 'payflowpro_gateway-error-msg-country' => 'country',
 64+ 'payflowpro_gateway-error-msg-card_num' => 'credit card number',
6465 'payflowpro_gateway-error-msg-expiration' => "card's expiration date",
6566 'payflowpro_gateway-error-msg-cvv' => 'CVV from the back of your card',
6667 'payflowpro_gateway-error-msg-captcha' => "The Captcha value you entered is incorrect. Please try again.",

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r79212Switched from using 'switch' format to elseif for credit card number validati...awjrichards22:16, 29 December 2010

Status & tagging log