WordPress.org

Plugin Directory

Changeset 665584


Ignore:
Timestamp:
02/09/13 13:00:50 (15 months ago)
Author:
liedekef
Message:

the paypal class didn't really support the business ID, should work now

Location:
events-made-easy/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • events-made-easy/trunk/eme_rsvp.php

    r665455 r665584  
    14201420 
    14211421   // array of currencies accepted or false to disable 
    1422    $ipn->currencies = array('USD','EUR'); 
     1422   //$ipn->currencies = array('USD','EUR'); 
     1423   $ipn->currencies = false; 
    14231424 
    14241425   // date format on log headers (default: dd/mm/YYYY HH:mm:ss) 
  • events-made-easy/trunk/paypal/IPN.php

    r665436 r665584  
    9797        } 
    9898 
    99         // check if it was payed to your e-mail 
    100         if($this->ipn['receiver_email'] != $this->paypal_email) { 
     99        // check if it was payed to your paypal e-mail or business id 
     100        if(strtolower($this->ipn['receiver_email']) != strtolower($this->paypal_email) && 
     101           strtolower($this->ipn['receiver_id']) != strtolower($this->paypal_email)) { 
    101102            $this->write_log('WARNING: payment was made to different e-mail account', $this->pretty_ipn); 
    102103            return false; 
  • events-made-easy/trunk/readme.txt

    r665462 r665584  
    112112 
    113113== Changelog == 
     114 
     115= 1.0.13 = 
     116* Feature/Bugfix: the paypal class didn't really support the business ID, should work now 
    114117 
    115118= 1.0.12 = 
Note: See TracChangeset for help on using the changeset viewer.