• Resolved Smexhy

    (@smexhy)


    Hello, just decided to use your plugin instead of the one from WooCommerce, because it is better, really. Just the one thing I am not able to make work for now (in the test environment) is the apple pay. It kinda works. Kind of.

    I registered domain with the button in the settings, checked stripe dashboard (domain is added in stripe apple pay settings) and even checked FTP for .well-known folder/file thing, everything seems alright uploaded as it should be.

    The issue I have is, that when I press on the Apple Pay button, it won’t load any shipping method (as of now I have only local pickup at my store)

    This is how Apple Pay worked correctly with the official old plugin from WooCommerce: https://imgur.com/yk44H3g

    This is how it “works” now: https://imgur.com/nnbWV2z (text under the red exclamation mark says: “Shipping address is not valid”)

    Again, both plugins were and are in testing environment. Always only one is enabled at a time to let me test them and compare like I did in the screenshots so you can see what I am talking about.

    Your plugin is much more configurable and it works much better as it adds not only buttons with quick checkout, but even as a payment method (including Google Pay).

    Therefor I would love to ask you for some advice whether this is issue because I have only local pickup and your plugin is not configured for that, or there is something we don’t know about yet?

    All versions I am using are latest, including WordPress, WooCommerce, your plugin…

    Thank you for any advice
    Regards
    Roman

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @smexhy,

    Thanks for reaching out. When the product requires shipping then our plugin attempts to load the WC shipping packages. If the packages are empty then the loading message you see is provided. You mentioned that you only do local pickup. Have you configured any shipping methods in the WC settings or have you left that config empty?

    If you want, reach out to us via our support email (the Help icon on all the plugin’s pages) and we can look at how your site is configured. I believe it’s a simply adjustment needed in your site’s config.

    Kind Regards,

    Thread Starter Smexhy

    (@smexhy)

    Thanks for the quick reply! I will contact you through the form.

    Plugin Author Payment Plugins

    (@mrclayton)

    @smexhy,

    I performed some testing on my test site using the WooCommerce Local Pickup plugin. I couldn’t re-create the issue where the Local pickup option would not appear.

    I tried to make all of my local pickup options set to exactly how your site is setup.

    Kind Regards,

    Thread Starter Smexhy

    (@smexhy)

    I don’t understand, where could the issue possibly be? The only plugins I have left activated are: WooCommerce, WooCommerce Local Pickup Plus and Stripe for WooCommerce. Everything is updated.

    I tried Google Pay too and even that one can’t load my address.

    I would investigate deeper if I wouldn’t know that the other plugin for woocommerce stripe integration is working, but it’s lestt customizable than yours and that’s the reason I would prefer yours.

    Perhaps I could try set up free postage zone without WooCommerce Local Pickup Plus plugin to determine if it’s because of it or not? And if not, what other could lead into this problem?

    • This reply was modified 4 years, 12 months ago by Smexhy.
    • This reply was modified 4 years, 12 months ago by Smexhy.
    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @smexhy,

    I did some more testing. The only way I can re-create the issue is if I go to the product edit page and change the product’s shipping Local Pickup option to Cannot be picked up

    Do any of your products have that setting enabled? If so then you would need to have some other configured shipping method besides local pickup.

    Kind Regards,

    Thread Starter Smexhy

    (@smexhy)

    All my products are using “Use category-level setting” option. And all of the categories are configured to “Can be picked up”.

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @smexhy,

    Can you confirm if that behavior is happening on the checkout page or is it just on the product and cart page? If it’s happening only on the product and cart pages I think I might know what’s going on.

    Kind Regards,

    Thread Starter Smexhy

    (@smexhy)

    Tried now, it is happening on every page (product page, cart page, top of checkout and checkout itself)

    I am not sure if it will help, but all my current products have 2 categories (1 main category and 1 subcategory) – https://dsh.re/3502e (both has “can be picked up” option selected)

    All products have attributes

    This is how shipping options look for my average product – https://dsh.re/2d86d (all have different weight etc. but shipping class and local pickup option are on all products the same)

    All products have manageable stocks – https://dsh.re/be3f92

    Even when I create tottaly fresh and new product ONLY with price, title and Local Pickup set to “Can be picked up” and try to use that, still the same issue. You can try by yourself here on my new test product – https://pneu-import.sk/obchod/test/

    • This reply was modified 4 years, 12 months ago by Smexhy.
    Thread Starter Smexhy

    (@smexhy)

    Also these are my main settings for Pickup Plus – https://dsh.re/acd65e

    “Default handling” option is set to “Pick up items” – that may be important in this case

    Plugin Author Payment Plugins

    (@mrclayton)

    @smexhy,

    Thank you for all those details. My gut is telling me this is related to the packages being cleared in the WC session.

    You might have noticed that when you purchase a product directly from the product or cart page, the WC cart remains in tact. That is because our plugin stores the customer’s cart and uses separate data to process the one click check so as not to interfere with the shopper’s other cart items.

    In the other Stripe plugin, when you try to purchase an item, you probably noticed that the shopping cart gets wiped out and replaced with that single product.

    I reviewed the Local Pickup plugin’s code and when the shopping cart is emptied, session data from local pickup is removed. That still doesn’t explain why it’s working on my site though. Do you have any session settings configured that you can think of?

    Kind Regards,

    Thread Starter Smexhy

    (@smexhy)

    Well that’s interesting. After what you said I immediately tried and disabled Pickup plus plugin, so only: WooCommerce and Stripe for WooCommerce are enabled.

    In WooCommerce settings I added “Free shipping” into my shipping zones, here is how it looks:

    https://dsh.re/2d02a
    https://dsh.re/d85f1

    And even after THAT (shipping should be now tottaly clearly pushed into your plugin) I am getting the exact same error and again on all pages and both Gpay and Apay.

    The only thing that could possibly be messing somehow with that is either my host (unlikely) or cloudflare service (currently set in development mode with no caches) I use.

    Either than that, there is nothing else left, really, as it can’t be fault at Stripe’s side.

    And side question: if I want to use quick pay button in cart or checkout page, shouldn’t it just buy all of the items in your cart anyway, so there is no point in storing it elsewhere? It is making perfect sense on a single product page (because you want to save your cart items and only quickly buy that one item you are viewing), but when there are 5 products in cart, it should buy all of them when clicking on quick-pay-button right? And the same for the checkout page.

    • This reply was modified 4 years, 12 months ago by Smexhy.
    • This reply was modified 4 years, 12 months ago by Smexhy.
    Plugin Author Payment Plugins

    (@mrclayton)

    @smexhy,

    Yes that functionality only pertains to the product page not the cart page as I stated before.

    This is a very odd issue to debug. You have proven that it’s not related to the local pickup plugin since the shipping methods are not loaded even with regular WC shipping enabled.

    I believe this further supports that it’s somehow related to the WC session. Can you try using a default theme and see if the results are any different?

    Kind regards,

    Thread Starter Smexhy

    (@smexhy)

    So after enabling “Storefront” theme I was finally able to make it work like a charm.

    Still however I am not sure what the issue was though so I am not sure if it’s theme/plugin issue, but you are clearly doing some things different than guys that did the other stripe plugin.

    I am not even able to fix it myself nor contact the dev of the theme because I don’t know if it’s really a mistake in his development or it’s just not compatible because of something.

    Perhaps woocommerce templates of the theme itself? Or does anything else come into your mind how could theme prevent your plugin from working correctly (as it is happening on every page, not only product page, so nothing with sessions)?

    Plugin Author Payment Plugins

    (@mrclayton)

    @smexhy,

    Without seeing your theme’s code I cannot say with certainty but one thing to take note of is our plug-in utilizes the WordPress rest API for Apple Pay Google pay etc.

    The other stripe plug-in relies on the WordPress Ajax API. It’s possible your theme has some code that affects data based on if the call is Ajax or not.

    Are you using a common theme or one that has been customized?

    Thread Starter Smexhy

    (@smexhy)

    I use ThemeForest theme – https://themeforest.net/item/motor-vehicles-parts-equipments-accessories-wordpress-woocommerce-theme/16829946

    not customized, but it’s used by many people as far as I know. There is no specific setting in theme telling anything about ajax that I could manage.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Apple Pay issues’ is closed to new replies.