Making WordPress.org

Changeset 6718


Ignore:
Timestamp:
02/22/2018 08:48:12 PM (7 years ago)
Author:
coreymckrill
Message:

WordCamp Payments: Specify charges paid by remitter for all wire exports.

Wires in other currencies besides USD default to "shared" charges when they are
imported, so the payments team frequently has to go back and change it to
"remitter" after importing the transactions. This saves time by defaulting to
"remitter" in the first place.

Location:
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/payment-request.php

    r6600 r6718  
    15541554                '112-priority' => '',
    15551555                '113-blank' => '',
    1556                 '114-charges' => '',
     1556                '114-charges' => 'OUR', // Charges should always be paid by the remitter, instead of shared.
    15571557                '115-blank' => '',
    15581558                '116-details' => '',
     
    15821582            }
    15831583
    1584             if ( get_post_meta( $post->ID, '_camppayments_currency', true ) == 'CAD' ) {
    1585                 $row['114-charges'] = 'OUR';
    1586             }
    1587 
    15881584            // Use for debugging.
    15891585            // print_r( $row );
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/reimbursement-request.php

    r6600 r6718  
    15061506            '112-priority' => '',
    15071507            '113-blank' => '',
    1508             '114-charges' => '',
     1508            '114-charges' => 'OUR', // Charges should always be paid by the remitter, instead of shared.
    15091509            '115-blank' => '',
    15101510            '116-details' => '',
     
    15341534        }
    15351535
    1536         if ( get_post_meta( $post->ID, '_wcbrr_currency', true ) == 'CAD' ) {
    1537             $row['114-charges'] = 'OUR';
    1538         }
    1539 
    15401536        // Use for debugging.
    15411537        // print_r( $row );
Note: See TracChangeset for help on using the changeset viewer.