Home › Forums › Ticket Products › Event Tickets Plus › Auto Processing (via Pay Pal)
- This topic has 5 replies, 2 voices, and was last updated 11 years, 7 months ago by
Barry.
-
AuthorPosts
-
September 17, 2014 at 7:28 am #748498
Darren
ParticipantHi there, I canโt get wootickets to auto process payments from Pay pal. I have added the identity token, setup IPN and still no luck. Please help!
September 17, 2014 at 11:44 am #748958Barry
MemberHi Darren!
So essentially you want orders to automatically complete, is that correct and does this help if so?
September 17, 2014 at 1:07 pm #749090Darren
ParticipantThat is correct! Once a customer successfully purchases a ticket via PayPal it needs to auto complete and send them a ticket. At the moment it’s not doing this.
September 17, 2014 at 2:45 pm #749277Barry
MemberOK – and the proposed solution (that I linked to) doesn’t solve this?
If so it may be more appropriate to speak to our esteemed colleagues across at WooThemes: this is really something that happens at WooCommerce level, WooCommerce Tickets has no real control over the order flow.
(You can bear this out by creating a test product – unrelated to tickets – and then running through a test purchase.)
September 18, 2014 at 2:57 am #750253Darren
ParticipantThat worked a charm thank you, thank you Barry ๐
– For others with this issue, simple solution is copy this into your theme functions.php file (EXERCISE CAUTION WHEN OVERRIDING CODE)/**
* Auto Complete all WooCommerce orders.
* Add to theme functions.php file
*/add_action( ‘woocommerce_thankyou’, ‘custom_woocommerce_auto_complete_order’ );
function custom_woocommerce_auto_complete_order( $order_id ) {
global $woocommerce;if ( !$order_id )
return;
$order = new WC_Order( $order_id );
$order->update_status( ‘completed’ );
}September 18, 2014 at 6:29 am #750546Barry
MemberGlad that helped ๐
EXERCISE CAUTION WHEN OVERRIDING CODE
Definitely: it’s always wise to be cautious – especially if you are using a theme which is likely to receive updates that might wipe any changes to functions.php. In cases like this, you could always consider make this change within a child theme functions.php file or indeed you could set it up within a plugin of its own.
At any rate, I’ll go ahead and close this thread as it looks like you’re all sorted – but if we can help with anything else please don’t hesitate to create a new thread and one of the team will be only too happy to assist ๐
Last but not least, we’re always keen to hear people’s thoughts on The Events Calendar and if you’d like to leave a note about your experiences with the plugin so far over on our plugin review page we’d love to read it. Thanks again!
-
AuthorPosts
- The topic ‘Auto Processing (via Pay Pal)’ is closed to new replies.
