shipping

Testing shipping in new Paypal sandbox

允我心安 提交于 2019-12-10 12:07:06
问题 I'm trying to figure out the new developer.paypal.com site. I can login, make some test purchases, and everything works fine. However, now I want to set up various shipping rates (based on order total) and I have no idea where to go on the new developer site to set up the shipping rates. Can anyone tell me exactly where to click once I login at developer.paypal.com so that I can set up shipping rates for testing? Any help would be greatly appreciated! 回答1: If you are using Express Checkout or

Active_shipping Fedex API Authentication Error

旧时模样 提交于 2019-12-10 09:56:16
问题 I'm implementing aсtive_shipping plugin functionality in my app. I've got test account from fedex and trying to get some shipping rates as shown in plugin's readme at github: fedex = FedEx.new(:login => '***', :password => '***', :key => '***', :account => '510087569', :meter => '100054531') response = fedex.find_rates(origin, destination, packages) This request causes an error: ActiveMerchant::Shipping::ResponseError (ERROR - 1000: Authentication Failed) Also I'm confused with all that APIs

How to add a custom working Shipping Method in WooCommerce 3

末鹿安然 提交于 2019-12-10 02:58:45
问题 I have successfully created a new shipping method and given it support for shipping zones. However when I come to select the method from the dropdown to add it to the zone it does not appear in the 'selected methods list'. I recorded a screencast gif to demonstrate: I can't for the life of me figure out why it's not working. It works fine if I select one of the standard methods (Screencast GIF) Anyone know what's going on here and how to get it to work? Here's the code that I have from this

Postmates integration with Shopify Shipping/Carrier services

两盒软妹~` 提交于 2019-12-08 14:50:28
so we are looking to integrate this application: https://postmates.com/developer/docs into our Shopify platform. For how it works please check: http://blog.postmates.com/post/104856343907/a-technical-perspective-on-the-postmates-api . So we are looking for add a Carrier Service to our store. And As Postmates provides services to few regions as follows we will add other mutiple shipping options for non-Postmates supported regions. Postmates is currently available in the San Francisco Bay Area (San Francisco, East Bay, South Bay), New York City, Chicago, Los Angeles, Washington DC, Seattle,

Hide and unhide a specific shipping methods based on shipping class in WooCommerce

南笙酒味 提交于 2019-12-08 06:51:00
问题 i have a cart that has three method standard delivery(0-10kg), standard delivery(11-20kg) and next day delivery(0-20kg), my problem is when i a product with a frozen food shipping class to the cart the shipping method should only be the next day delivery and if there is now shipping class on the cart it only has the standard delivery, my problem is when a add the product with a shipping class and a products with no shipping class it will not go to the condition that i make. add_filter(

Hide specific shipping options based on products or categories in WooCommerce

醉酒当歌 提交于 2019-12-08 06:33:38
问题 My WooCommerce website uses 3 different shipping types. Royal mail signed for (7 days) Next day guaranteed Recorded delivery Some products can only be shipped using option 1. When this product is added to the cart, a shipping class i created helps to show option 1 in the cart but the other two options are still visible (customers are not allowed to choose these options for this product). By using jQuery i was able to hide the other two options because option 1 was the default selection. (So

Tiered Shipping with multiple Shipping rates options and prices

两盒软妹~` 提交于 2019-12-08 03:08:28
问题 I recently set up my tiered shipping and I read this tutorial about this, I modified his code to mine like this: add_filter( 'woocommerce_package_rates', 'bbloomer_woocommerce_tiered_shipping', 10, 2 ); function bbloomer_woocommerce_tiered_shipping( $rates, $package ) { $thresholdsmall = 200; $thresholdbig = 899.99; if ( WC()->cart->subtotal < $thresholdsmall ) { if ( isset( $rates['free_shipping:4'] ) ) unset( $rates['free_shipping:18'] ); if ( isset( $rates['free_shipping:14'] ) ) unset(

Hide and unhide a specific shipping methods based on shipping class in WooCommerce

余生颓废 提交于 2019-12-08 03:03:24
i have a cart that has three method standard delivery(0-10kg), standard delivery(11-20kg) and next day delivery(0-20kg), my problem is when i a product with a frozen food shipping class to the cart the shipping method should only be the next day delivery and if there is now shipping class on the cart it only has the standard delivery, my problem is when a add the product with a shipping class and a products with no shipping class it will not go to the condition that i make. add_filter( 'woocommerce_package_rates', 'custom_hide_shipping_methods', 10, 2 ); function custom_hide_shipping_methods(

Create a new shipping method in woocommerce 3

时光总嘲笑我的痴心妄想 提交于 2019-12-08 01:20:44
问题 I need help in generating new shipping method in woocommerce version 3+. The name for new field is "Nextday delivery". Like the flat rate it also need to be there in the method but it was not displayed in the drop down select field. The below is the code which I tried. But it's not working for me. function request_a_shipping_quote_init() { if ( ! class_exists( 'WC_Request_Shipping_Quote_Method' ) ) { class WC_Request_Shipping_Quote_Method extends WC_Shipping_Method { public function _

Best Strategies for preventing addresses with PO Boxes?

一笑奈何 提交于 2019-12-07 21:30:51
问题 I have a client which is shipping via UPS, and therefore cannot deliver to Post Office boxes. I would like to be able to validate customer address fields in order to prevent them from entering addresses which include a PO box. It would be best if this were implemented as a regex so that I could use a client-side regex validation control (ASP.NET). I realize there's probably no way to get a 100% detection rate, I'm just looking for something that will work most of the time. 回答1: This should