Accept donations to a nonprofit [closed]

There are several different forms of PayPal. It sounds like you are using PayPal Standard, which always takes the visitor to PayPal’s website to process the payment. There are a couple of different PayPal Pro type accounts where you can have the visitor fill out a single form, including their payment information if they are … Read more

Paypal buttons disappear in the text editor

Elements like these (PayPal buttons), should not be inserted as page content in the editor, but in your WordPress template files. I assume you are developing your own WordPress theme! If not, you can modify an existing shipped WordPress theme such as the Twenty Eleven WordPress theme. Depending on the placement of the button, you … Read more

Redirect user if the referrer is not PayPal related

What you do is you pass an argument to the Paypal’s return URL. For example: So your return URL may look like this: $url = home_url(); $url = add_query_arg( array( ‘paypal’ => ‘8832002472223abc’ ), $url ); $paypal_ipn = array( ‘return_url’ => $url // rest of your ipn data ) In your IPN template, you can … Read more

Update the value of a constant

You can’t alter a constant once it is defined. That is how PHP works. Don’t fight it. The good news is that you should not be using a constant at all. Use options. // get your value // the second parameter is the default $enable_paypal = get_option(‘enable_paypal’,true); // set your value based on, I assume, … Read more

problem using WP_Http with paypal nvp api

Looking at your original code, I’d say you need to add the sslverify arg. And on a side note, use the HTTP functions available, rather than instantiating the class yourself (you shouldn’t have to load the class manually). wp_remote_post( $url, array( ‘sslverify’ => false, // this is true by default! ‘body’ => array( ‘METHOD’ => … Read more

Plugins to Enable Subscriptions of Digital Assets?

For digital assets subscriptions most people are using Membership Plugins. There are free membership plugins and commercial membership plugins, and the ones IMO with the most traction (i.e. users and support) seem to be the commercial plugins. List of Membership and Content Protection Plugins Here are a list of membership plugins that I’ve found from … Read more

Where are “My Selling Tools”, “Website preferences”, and “Instant payment notifications” in new Paypal website?

I’m pretty confused with new PayPal. I have sandbox accounts, but now I needed to create production (business) account for actual real payment. But all look and feel are different now and all the links are different. Seems Paypal changed their web. I’ve already done integration for previous client; but now I’m disappointed because I … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)