Support » Plugin: PayPal for WooCommerce » Can I use express checkout after going through woocom checkout?

  • Resolved wjwc

    (@wjwc)


    I have a slight problem with the default woocom paypal integration. After some research i figured they are using the standard payments which has the classic api. The address field for the country and state is not carried through when i click on guest checkout while in paypal. Most likely they have not updated the code for a very long time. It is always redirected to US with a blank state. And, there is no option to go straight to guest checkout screen.

    Then, i found out about express checkout, but there is no way to use this after going through the woocom default checkout. The reason why i need it, is because only your plugin has the direct URL link to guest checkout in paypal, instead of the default login screen.

    Please advice what can be done. To recap, i want to use your plugin’s express checkout after going through woocom checkout. woocom checkout > paypal guest checkout with information brought forward > woocom confirmation.

    Just to be clear, i also can’t use other methods due to country not supported such as payflow etc.

    Thanks.

    • This topic was modified 7 years, 2 months ago by wjwc.
    • This topic was modified 7 years, 2 months ago by wjwc.
Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter wjwc

    (@wjwc)

    Ahh. I found one of the issue. I should have enabled to use the standard gateway, now the payment can be go through using paypal express.

    And i also found a fix to the blank checkout field. Apparently if no shipping zone is set, ie, it won’t be considered a shippable item.

    So there’s one more thing left that still remains. The country field defaults to US, and the state is blank. Which comes back to around the same problem i was trying to solve from the beginning.

    I’ve tried locale setting on/off, shipping zone etc, none of it actually managed to pass on country and state field properly.

    Edit: Ok, that’s it. Apparently it’s browser cache issue. Now country field is passed. But the state remains unselected.

    https://i.gyazo.com/c430f138917a414200204419d56ca590.png

    • This reply was modified 7 years, 2 months ago by wjwc.
    • This reply was modified 7 years, 2 months ago by wjwc.
    Plugin Contributor angelleye

    (@angelleye)

    I’m a little confused. You do not need to standard PayPal for EC to work. EC should replace standard altogether.

    If you weren’t getting the PayPal EC option in the regular list of payment gateways on the WC checkout page then you just need to double check the Express Checkout settings. There is an option for that where you can display EC at the top of the checkout page, in the regular list of payment options, or both. Sounds like you have it set so it wasn’t getting included in the regular list.

    Anything going on with the billing/shipping details on the checkout form wouldn’t be related to our plugin. That would be up to general WC settings and any other plugins or theme functionality you might have going on.

    Not sure if that’s going to be helpful information or not, but let me know if you have any other questions or concerns.

    Thread Starter wjwc

    (@wjwc)

    Hey. Sorry for the confusing post. Let me rewrite it again.

    Initially, i found a few problems that are actually caused by me not setting things up correctly.

    Now, I just have left 1 more thing that is not settled, which is at the last reply.

      The state field is not brought forward via the woocom checkout field

    . The rest are there, including country. When i tested, it didn’t bring forward “selangor” which is one of the states from “malaysia”. Not sure if you can replicate it from your end.

    Also, another problem is, maybe it stores some type of cookie which prevents data from being passed to paypal, but i’ve tried changing the field in woocom, but it refuses to pick up the country. Only when i use incognito, will it ever work, but the moment when i edit the field, it is not updated on paypal. The country went to US again, with a blank state.

    • This reply was modified 7 years, 2 months ago by wjwc.
    • This reply was modified 7 years, 2 months ago by wjwc.
    • This reply was modified 7 years, 2 months ago by wjwc.
    Plugin Contributor angelleye

    (@angelleye)

    Would you be able to provide a video of this experience, by chance?

    Thread Starter wjwc

    (@wjwc)

    Problem #1

    State not prefilled

    Problem #2

    After returning from same session, the country went to US, also with no state.

    And, paypal seems to randomly choose a landing page (with a different URL), whenever there is a guest checkout. Take note, this is produced from the same session, how could it show me a different landing page? It even brought me to yet another variant (very random), which the url is something like this. /guest/checkout/signup

    I have never experienced that in shopify at all. I tested a ton of times, shopify always brings me to this landing page variant, which is a check mark “save your payment info”. And, of course, shopify always prefill it correctly.

    • This reply was modified 7 years, 2 months ago by wjwc.
    • This reply was modified 7 years, 2 months ago by wjwc.
    • This reply was modified 7 years, 2 months ago by wjwc.
    • This reply was modified 7 years, 2 months ago by wjwc.
    Thread Starter wjwc

    (@wjwc)

    @angelleye

    Checking in to see if you have any feedback

    • This reply was modified 7 years, 2 months ago by wjwc.
    Plugin Contributor angelleye

    (@angelleye)

    I’m sorry for the delay getting back to you. Thanks for the videos.

    With the population of the form, I’m still unclear where that is coming from..?? In the video the form is completely empty, and then everything fills in at once. Is that coming from a browser form filler or something like that?

    As I mentioned before, that form all comes from WooCommerce, so anything involved with that would need to be addressed with WC directly. Unless I’m still not following what’s going on there..??

    With #2 we’d have to get a look at the API request to see what exactly is getting sent. Do you have logging enabled in the plugin that would include these tests?

    Also, it looks like you’re testing everything on mobile..?? Have you tested through a desktop browser as well, and do you have the same experience? Sometimes the mobile experience in Express Checkout doesn’t perform the same as the desktop experience does.

    Thread Starter wjwc

    (@wjwc)

    Yes, i’m using a form filler.

    I mean, i can’t be the only one experiencing this issue, as i’ve mentioned my setup doesn’t involve any other script just plain install with your plugin.

    The mobile? Yes, that’s from chrome browser’s mobile simulation. Desktop browser works the same. I just made it this way to record easier.

    I don’t really want to spend so much time here trying to debug this issue. But i’ll see what i can do with the logs.

    In essence, clearly what is going on here is that either WC doesn’t have the proper way for the country and state field that express checkout likes, or that express checkout by your plugin doesn’t pick it up properly. I’ve provided what i can, I think the least you can do is to replicate this issue on your end as i’ve listed my steps very clearly.

    WC + Storefront + Your plugin

    • This reply was modified 7 years, 2 months ago by wjwc.
    • This reply was modified 7 years, 2 months ago by wjwc.
    Plugin Contributor angelleye

    (@angelleye)

    Our plugin does not output those fields you are referring to. Those are standard WooCommerce checkout page fields.

    The problem is most likely that whatever the element ID is for those fields isn’t matching up with something the form filler recognizes.

    Or, are you telling me that if you disable our plugin then that form filler will populate the WC checkout page properly?

    Thread Starter wjwc

    (@wjwc)

    No no you’re getting it wrong again.

    I don’t mean your plugin populating the WC checkout page.

    What i am doing is going through WC checkout > Paypal express

    Not Paypal express > WC checkout

    But i;ll try it again with the default WC default one and see what happens.

    What i am trying to say here is that, WC checkout > paypal express > country + state field not picking up WC checkout field

    • This reply was modified 7 years, 2 months ago by wjwc.
    Thread Starter wjwc

    (@wjwc)

    That is just so weird. I tested it for the first time, although it doesn’t have direct to guest checkout, after i clicked pay with card, the url directed me to the correct country and state.

    The 2nd time i repeat, with a new incognito, the url directed me to US with empty state.

    As far as i remember, it always directed me to US with no state field with the default paypal, and yours is no difference. Which is so so wrong. How can i, when i clearly input my fields correctly in WC, but gets redirected to US with blank state, is just utterly ridiculous.

    The key point here being, something is just not picking up this 2 fields.

    https://i.gyazo.com/3d7f8385882a010e351576cc3f136bbe.png

    I’m so done with WC in general. I only got involved not too long ago but it’s just not worth my time spent to debug an issue as important as payment gateways. I retract all my negative attitude towards you, no offense. But WC itself for having this /bug/ is just unacceptable.

    • This reply was modified 7 years, 2 months ago by wjwc.
    • This reply was modified 7 years, 2 months ago by wjwc.
    Plugin Contributor angelleye

    (@angelleye)

    My last comment was in reference to going through the WC checkout page. You said I got it wrong, then you said you were talking about going through the checkout page.

    I’m not sure what else I can say. I’m confused.

    Thread Starter wjwc

    (@wjwc)

    Updated my previous post. This will be marked as resolved.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Can I use express checkout after going through woocom checkout?’ is closed to new replies.