MediaWiki:DonationForm.js: Difference between revisions
Content deleted Content added
pass contact_id and/or contact_hash params to payments - phab:T381405 |
rm base64 decoding, being done in Civi now - phab:T381931 Tag: Undo |
||
(3 intermediate revisions by the same user not shown) | |||
Line 840:
}
// TODO: refactor this to a list of parameters to pass unchanged
// or just pass everything by default?
if ( mw.util.getParamValue( 'pym_appeal' ) ) {
params.appeal = mw.util.getParamValue( 'pym_appeal' );
}
// https://phabricator.wikimedia.org/T381405
if ( mw.util.getParamValue( 'contact_id' ) ) {
Line 850 ⟶ 851:
if ( mw.util.getParamValue( 'contact_hash' ) ) {
params.contact_hash = mw.util.getParamValue( 'contact_hash' );
▲ }
// SMS
if ( mw.util.getParamValue( 'recipient_id' ) ) {
params.recipient_id = mw.util.getParamValue( 'recipient_id' );
}
|