Hot answers tagged

4

You can hook to the init action and then check for the query variable, you can use the PayPal provided query var or you can use your own custom query var. I will give you example of your own custom query var i.e MYIPN_LISTENER The Code: function wpse58656_paypal_ipn_listener() { // check for your custom query var // If you are paranoid you can ...


4

Best way is to handle this with user roles. A user can register but not read. After paying with paypal, the role will be updated (e.g. from reader to subscriber). The update can be done through PayPals IPN. I made this for one of my clients. You will be paid by your customer. I will be paid by you. You got the plugin. Update As you want to write a theme ...


3

Use the ajax api: http://codex.wordpress.org/AJAX_in_Plugins If you let all your ajax calls go through this you will have access to all WP functions. Also take a look at these: http://www.james-vandyne.com/process-paypal-ipn-requests-through-wordpress/ http://wordpress.org/extend/plugins/paypal-framework/ Don't know if what you want is in there, but ...


3

why not pass the title as another hidden input? doesn't seem like much reason for a select element when you only have 1 option. <input type="hidden" name="on0" value="<?php the_title();?>">


3

Most of the new and updated Cart/E-commerce plugins offer that functionality for ex: TheCartPress, E-Commerce for WordPress Stores (long name for a plugin) wpStoreCart DukaPress


3

Try working through the source code of a plugin such as PayPal Framework. From your question, the WP side is fairly trivial, but you should study general PayPal tutorials to understand the API, for example, here's the first search result from Google for PayPal API tutorial: Using PayPal's IPN with PHP Also some additional helpful info can be found here.


3

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, a form of some kind ...


2

To be frank, my customers and I have only had miserable experiences with all of the various alternatives. Had I found a suitable one myself, I wouldn't be developing one in the background. :-P (And no, the one I'm working on by no means ready yet.)


2

For wordpress plugins you can see the below links http://wpmu.org/8-wordpress-paypal-plugins-for-receiving-payments-and-donations/ http://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768 http://www.bestwpplugins.net/wordpress-plugins-for-paypal-integration.html Check this plugin link it might work in your case and its tested in ...


2

Wordpress + Gravity Forms is all you'll need for this project. Gravity Forms even has paypal integration. Set up a registration form, add on payment and you're ready to roll. They have detailed instructions and tutorials on how to set everything up and a very active forum if you run into any issues.


2

Easy Digital Downloads is in my opinioin the best plugin if you are selling downloads. You can see a full review of the plugin here.


2

You can create a custom template in the theme that displays the 'products' custom post types (see the section on Template Files in Custom Post Types). Then code the HTML for the Paypal button in to your specific single-{posttype}.php and have the attributes such as price, etc, coming from custom fields. <form target="paypal" ...


2

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' => ...


2

This one is the best I know of: Event Calendar / Scheduler The main features include: Day/Week/Month/Year/Agenda view + ability to create custom view Drag-n-drop support to configure event date and time Customizable appearance Single/multi-days events (daily, weekly, monthly or yearly basis) Customizable time scale Recurring events Multilingual


2

A solution can be found in the function woocommerce_add_to_cart_action. We have to chain two filters. In the first, we check for the product ID, if it's one of a list we add the redirect. add_action( 'woocommerce_add_to_cart_validation', 'check_ids_wpse_119466', 10, 3 ); function check_ids_wpse_119466( $true, $product_id, $quantity ) { # Not our ...


2

It's far better to use a plugin such as Easy Digital Downloads as there are many steps you will need to code in e.g. 1) Check if user has paid (by checking if they were referred back successfully by Paypal) and then set the option in the admin area to say yes you have paid 2) Check what you have bought and direct you to download the item 3) Set a limit on ...


2

Here's an idea for a starting point, by looking how the word counting is done in the /wp-admin/js/post.js file: /** * Testing word price calculations */ add_action( 'after_wp_tiny_mce', function() { ?><script> ( function( $ ) { $( function() { // Init var $content = $( '#content' ), $count = $( ...


1

I would suggest WP Event Ticketing. It's not phenomenal, but it works pretty well for selling tickets to events.


1

Ok, take a look at following plugins, maybe someone could help you: Easy WordPress Donations Awesome Donation System for Wordpress PayPal Payment Terminal Wordpress However all these plugins are commercial, but you can ask a question to the author about your needs before buying. If you need account there you can register here.


1

simple answer, Yes that is the main idea behind the PayPal Framework plugin and to get you started take a look at the plugin's FAQ to get an idea of how to use it.


1

I'm not sure if it hits all of your requirements, but the Advanced Events Registration plugin looks pretty promising.


1

Go for Woocommerce! In my opinion the best and most powerful free ecommerce plugin. They offer also features for download products


1

late answer Another Plugin As you can read here, WP Event Ticketing is no longer supported, but has someone who took it over and made EventEspresso 1) out of it. At a first brief look, it seems to be well thought. PROS: I haven't found one. CONS: Point is, that the plugin adds tons of new tables. There're also (afaik) only activation functions to add ...


1

I recently created a WordPress site for a conference and I used the following plugins: Conference Schedule by Simon Wheatley Contact Form 7 + Contact Form to DB Extension to capture abstract submissions (although I never found an answer to my StackExchange question about how to capture dynamically added fields to the form, which would really have been very ...


1

I recently used http://wpeventticketing.com/ for WDC2011 in October, I didn't look to far in to all the options but I think it can do everything you're looking for. I'd suggest also using MailChimp for emailing attendees as it is far better than anything I've found to plugin to WordPress.


1

You should check eShop plugin. It has all the features. Paypal available there


1

Elements like these (Paypal buttons) should not be inserted as page content in the editor. Instead, put them in your Wordpress template files. I assume you are developing your own Wordpress theme but even if not, you can modify the existing one ("Twenty Eleven"). Depending on the placement of the button, you should do it in header.php, sidebar.php or ...


1

eShop and wp e-commerce both offer downloadable products.


1

For subscriptions the method should be CreateRecurringPaymentsProfile and you still have to send trough all those CC parameters. to get a better understanding take a look at PayPal API Subscriptions which is a bit outdated but the code part of the API call is still relevant.


1

Here's a couple: http://getshopped.org/ http://wordpress.org/extend/plugins/eshop/



Only top voted, non community-wiki answers of a minimum length are eligible