madein83
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] product category url structure**Fixed**
Wow….after searching high and low i finally found the snippet i needed….how it wasn’t even marked as an answer i don’t know.
Remove Parent Categories from URL of custom post type: product – wordpress
Hopefully this will help someone;
function wdm_remove_parent_category_from_url( $args ) { $args['rewrite']['hierarchical'] = false; return $args; } add_filter( 'woocommerce_taxonomy_args_product_cat', 'wdm_remove_parent_category_from_url' );
Forum: Plugins
In reply to: [WooCommerce] product category url structure**UPDATE**
What i didnt know is that it seems woocommerce accepts those urls if they are visited directly i.e. https://www.mywebsite.com/shop/lowest-product-category even though thats not the full structure.
However my problem remains that when clicking through the generated links are different so what i need is a way to re-write my links manually via the functions file.
I’ve found a few snippets that apparently work for post categories but not for product categories….i’d imagine its similar but just getting the product category info instead….any ideas.
Forum: Plugins
In reply to: [PayPal IPN for WordPress] Doesn’t appear to be workingNo problem, I’ve just opened a ticket…explained the problems.
Forum: Plugins
In reply to: [PayPal IPN for WordPress] Doesn’t appear to be workingSorry im having to give up, no joy with nay of it unfrotunately…tried directly in the functions file as well with and still nothing;
add_action('paypal_ipn_for_wordpress_payment_status_completed',function( $post ) { wp_remote_post('myownipnurl', array('body' => $post ) ); } );
Thanks anyway.
Forum: Plugins
In reply to: [PayPal IPN for WordPress] Doesn’t appear to be workingJust to note, I’ve tried this on another wordpress site i have….ipn messages are coming through fine to the angelleye url but the forwarder doesnt fire…no idea why…im fairly new to wordpress but just cant seem to get this to work.
I even tried the wp_remote_post method and nothing was sent either.
Could it be to do with the type of paypal payment?….its express checkout as far as i know.
Forum: Plugins
In reply to: [PayPal IPN for WordPress] Doesn’t appear to be workingHi,
Yes that seems to make sense, although i’ve just changed my IPN url to the correct one but now my IPN’s seem to fail with error 500 and arent now being logged in the IPN tab.
I’ve just enabled debugging, tried re-installing the plugin but still happening, any ideas?
I’ll have another play about….should the IPN plugin still work even if the forwarder doesnt?
I’ve checked the log files and the transactions are showing in the debug log with all the relevant detals?
Thanks
- This reply was modified 7 years, 11 months ago by madein83. Reason: updated info
Forum: Plugins
In reply to: [PayPal IPN for WordPress] Doesn’t appear to be workingHi,
When i place an order…..I go to paypal and view the ipn data…the notify url is;
mywebsite/?AngellEYE_Paypal_Ipn_For_Wordpress&action=ipn_handler
And when i go to the paypal ipn tab for the plugin…the orders i am placing are also there….when i’ve looked online woocommerce will send the notify url paramater which overrides what i enter in paypal own IPN url.
Is that url above not what triggers the ipn forward plugin if loaded?
I have my own script url specified in the forwarder plugin.
The problem which what you are saying is however….we have an ebay account linked to that paypal account so i need to leave the ipn url as my own so my other system still gets updated with the ebay orders.
Is the notify url different to the ipn notify url?….its the same thing is it not?
Forum: Plugins
In reply to: [PayPal IPN for WordPress] Doesn’t appear to be workingHi, sorry i could just be being thick and not understanding how it works.
Yes i have IPN set up and Paypal set to go to my own IPN url by default but from what i understand WP overrides the notify url so it is currently sending to the
mywebsite/?AngellEYE_Paypal_Ipn_For_Wordpress&action=ipn_handlerThe ipn messages are coming back to my site as they are are there and logged….its just as if the forwarder plugin ins’t running or being called.
Forum: Plugins
In reply to: [WooCommerce] Help me forward IPN to external apiHi,
Sorry I’m new to using woocommerce/wordpress, where abouts does this code need to go, it gives a php error when trying to place in the functions.php file.
Thanks
Steven