Title: sendToExpressCheckout Helper?
Last modified: August 22, 2016

---

# sendToExpressCheckout Helper?

 *  Resolved [Chris](https://wordpress.org/support/users/cferdinandi/)
 * (@cferdinandi)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/sendtoexpresscheckout-helper/)
 * Hi Aaron,
 * This plugin has been an invaluable resource for me, so thank you so much! I noticed
   that `sendToExpressCheckout(`) is not available as a helper function accessible
   outside of the `wpPayPalFramework` class, and therefore cannot be used in other
   files or plugins.
 * Was this deliberate or an oversight? I ended up forking the plugin and adding
   one, and was going to submit a PR for it, but could not find this plugin on GitHub.
   The fork works, but I’d love to see this as part of the official plugin so I 
   can stay up-to-date with any changes you make.
 * Let me know how best proceed. Happy to do the legwork on this if you’d like.
 * Thanks!
    Chris
 * [https://wordpress.org/plugins/paypal-framework/](https://wordpress.org/plugins/paypal-framework/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Aaron D. Campbell](https://wordpress.org/support/users/aaroncampbell/)
 * (@aaroncampbell)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/sendtoexpresscheckout-helper/#post-5445937)
 * It’s a public method, so this works:
 *     ```
       $wpPayPalFramework = wpPayPalFramework::getInstance();
       $wpPayPalFramework->sendToExpressCheckout($your_args);
       ```
   
 *  Thread Starter [Chris](https://wordpress.org/support/users/cferdinandi/)
 * (@cferdinandi)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/sendtoexpresscheckout-helper/#post-5446091)
 * [@aaron](https://wordpress.org/support/users/aaron/) – Thanks! I’m newish to 
   working with PHP classes, so I was attempting to reference the class incorrectly.
   Worked like a charm!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘sendToExpressCheckout Helper?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paypal-framework.svg)
 * [PayPal Framework](https://wordpress.org/plugins/paypal-framework/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paypal-framework/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paypal-framework/)
 * [Active Topics](https://wordpress.org/support/plugin/paypal-framework/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paypal-framework/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paypal-framework/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Chris](https://wordpress.org/support/users/cferdinandi/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/sendtoexpresscheckout-helper/#post-5446091)
 * Status: resolved