예제 #1
0
 public static function get_config($form_id)
 {
     $paypal = GFPayPal::get_instance();
     $feed = $paypal->get_feeds($form_id);
     //Ignore IPN messages from forms that are no longer configured with the PayPal add-on
     if (!$feed) {
         return false;
     }
     return $feed[0];
     //only one feed per form is supported (left for backwards compatibility)
 }
예제 #2
0
function gf_paypal()
{
    return GFPayPal::get_instance();
}