Agli Pan?i
Forum Replies Created
-
@krishna19 you need to configure web hooks I order for the tip to be added. Postmates allows for the tip to be added only after the delivery is completed and the plugin can know that only by Postmates Webhooks.
@krishna19 I don’t have planned any of the features you mentioned for the short term. The plan is to make sure the plugin is stable and bug-free at the moment.
Forum: Plugins
In reply to: [WooCommerce Postmates Integration] Error & Conflict@tklug I am glad you like the plugin ??
The error you are describing is thrown but a dependency of the plugin and not by my code specifically. However, I will find the time to fix that as well.
I am working on getting my website back ?? My Paypal is agli.panci[at]gmail[dot]com
@krishna19 I am afraid that it’s not possible with the current version.
@krishna19 you can update to the latest version 1.5.0 now.
@krishna19 can you please share a screenshot?
I am closing this since this it’s been a while without a reply and the customizations are out of the support scope.
@ashkanram I tested with the same WP and WooCommerce versions and it works just fine for me. What is the PHP version on the server?
Regarding the usage of the woocommerce_package_rates filter, you need to use documentation and look at the code. I am afraid I cannot help you with that.
@ashkanram can you please provide me the information I asked for?
Also regarding the availability of the shipping method, there is no such option to limit it by opening hours, however, you can do that yourself using the woocommerce_package_rates filter.
@ashkanram the log file shows that the plugin is not loaded properly and that could be the main reason that it’s not working.
What version of WordPress, WooCommerce, and plugin are you using?
On Postmates you have to check this: https://share.getcloudapp.com/geuqNOG1 to see the API created deliveries.
I would strongly recommend you use the Postmates Sandbox for testing as well.
@ashkanram The “Cancel Postmates Delivery on this order status” should not be the same as “Submit delivery to Postmates on this order status”. That setting is meant to be in case you want to automatically want to cancel delivery when the order is canceled.
Also, what is the order status when it’s newly created?
Make sure you enable Logging because it will help you to understand what is going on behind the scenes.
- This reply was modified 4 years, 4 months ago by Agli Pan?i.
@ashkanram can you please send me a screenshot of the Postmates settings? Also can you please have a look at the log files in WooCommerce > Status > Logs?
Forum: Plugins
In reply to: [WooCommerce Postmates Integration] Pay for portion of customer delivery fee@ivanll I have added the support to modify the delivery fee on the fly. Here is an example:
add_filter('postmates_shipping_cost', function ($shipping_cost) { // if the shipping cost is greater than $7, reduce the delivery by $3 if ($shipping_cost > 7) { // a part of the shipping is going to be charged to the customer // in this case $3. $shipping_cost = $shipping_cost - 3; } // the returned amount should be formatted. return number_format($shipping_cost, 2, '.', ' '); });
Forum: Plugins
In reply to: [WooCommerce Postmates Integration] Custom Statuses@ivanll I have released the update that includes the support for Custom Order Statuses.
Please make sure you have added the custom statuses like this:
// Register new status function register_custom_status_order_status() { register_post_status( 'wc-custom-status', array( 'label' => 'Custom Status', 'public' => true, 'exclude_from_search' => false, 'show_in_admin_all_list' => true, 'show_in_admin_status_list' => true, 'label_count' => _n_noop( 'Custom Status (%s)', 'Custom Status (%s)' ) ) ); } add_action( 'init', 'register_custom_status_order_status' );
// Register new status // Add to list of WC Order statuses function add_custom_status_to_order_statuses( $order_statuses ) { $order_statuses['wc-custom-status'] = 'Custom Status'; return $order_statuses; } add_filter( 'wc_order_statuses', 'add_custom_status_to_order_statuses' );
Forum: Plugins
In reply to: [WooCommerce Postmates Integration] Custom Statuses@ivanll currently it doesn’t support that but give me a couple of days to check if I can add that.