• Resolved ahmdtaha

    (@ahmdtaha)


    Hey, so my checkout process is long, customer should fill billing address on my site and then when they click on credit card smart button by paypal he must fill it again

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    Hi @ahmdtaha! I’m a bit confused about what you’d like to change in the checkout process.

    Can you elaborate a little on what workflow would you like customers to follow at checkout, versus what the current workflow looks like?

    Once we have more details we’ll be able to tell whether this is possible to achieve with the PayPal Checkout plugin or not.

    Thread Starter ahmdtaha

    (@ahmdtaha)

    Current workflow: if customer press add to cart then they go to cart then press proceed to checkout, if they press buy now they proceed to checkout directly, they have fo fill their billing address on my site, then when they press credit card on paypal smart buttons they have to fill that billing address again.

    My wanted workflow: they press add to cart or buy now, they go to checkout, they fill the billing address on my site, and then when they press on the credit card thing with paypal smart buttons, it automatically fill thr billing address for paypal with what they typed in our form, that means they just have to fill credit card info and pay

    Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    @ahmdtaha In the settings of PayPal Checkout, can you confirm what have you set the Landing Page field to?

    Additionally, can you provide us with a link to a product page on your store? So we can test the checkout workflow on our end.

    Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    So I’m facing what I assume is the same issue – I have WooCommerce billing fields that the user completes, then the smart buttons displayed as a means of payment.

    When clicking ‘Debit or Credit Card’, the user is then presented with a form displaying an additional set of billing fields which, in my case at least, aren’t pre-populated according to the previous set of billing fields.

    What’s strange, though, is that if I edit the shipping fields shown below the billing fields (which are empty) those are pre-populated with the values from the WooCommerce fields.

    Is there a means of disabling these billing/shipping fields altogether for virtual products?

    I got the same issue, sometimes my customer doesn’t want to fill in the address two times. Have anyone resolved this problem.

    @fhaps Sorry to bother, but I was hoping to get an indication as to whether this is something that can be solved.

    If I override the createOrder function passed to the buttons, I’m able to prepopulate the Billing Address fields using the payer object:

    https://developer.paypal.com/docs/api/orders/v2/#definition-payer

    Unfortunately it seems as though the woocommerce billing fields are serialized and sent to the paypal sdk as a fetch request body, so I’m unsure how to pass the payer details along – or if indeed the sdk is supposed to extrapolate the payer details from the billing address fields in the first place but isn’t working as intended.

    If you could shed some light on this it would be much appreciated.
    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Solution for smart button billing address????’ is closed to new replies.