r102002 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102001‎ | r102002 | r102003 >
Date:15:56, 4 November 2011
Author:awjrichards
Status:resolved (Comments)
Tags:
Comment:
Fixing hardcoded USD for GlobalCollect api posting code
Modified paths:
  • /trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/webitects_2_3step.js (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/js/webitects_2_3step.js
@@ -151,7 +151,7 @@
152152 var sendData = {
153153 'action': 'donate',
154154 'gateway': 'globalcollect',
155 - 'currency': 'USD',
 155+ 'currency': $( "input[name='amount']" ).val(),
156156 'amount': $( "input[name='amount']" ).val(),
157157 'fname': $( "input[name='fname']" ).val(),
158158 'lname': $( "input[name='lname']" ).val(),

Follow-up revisions

RevisionCommit summaryAuthorDate
r102003Fixing hardcoded USD for GlobalCollect api posting code - this time for realawjrichards15:57, 4 November 2011

Comments

#Comment by Pgehres (WMF) (talk | contribs)   15:57, 4 November 2011

FIXME: I think you meant currency_code :-p

Status & tagging log