• Resolved Mike

    (@mikkey0001)


    Hi,
    Have enabled Apple Pay and would like to use it on the basket page. However we ask for an additional field within shipping if the delivery address is different to billing for a phone number which is a required field. It was added by Flexible Checkout Fields plugin.

    If I use Apple Pay on the basket page it fails as the field is required, but as the field is not shown here, only on the checkout page, there is no way for the user to enter the data.

    Is it possible to add this field to the Apple pay form in any way?

    Realise it may be out of scope for your plugin, but thought it worth asking.

    Thanks

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

    (@mrclayton)

    Hi @mikkey0001,

    Just to make sure I am understanding:

    If the shipping address does not match the billing address, then you ask for an additional shipping phone on the checkout page? You’re looking for a way to populate that shipping phone field so Apple Pay can be used on your cart page without failing the checkout validations?

    Right now the plugin’s code sets the buyer’s phone in the billing phone field only. I would probably have to add an extension point in order to achieve what you’re looking to do.

    One way you could achieve this is to see if the checkout process is being called via the cart page and if so, remove the required field from your shipping phone field or just populate it with the billing phone field value. What do you think? I can show you how to achieve that.

    Kind Regards,

    Thread Starter Mike

    (@mikkey0001)

    Hi,

    Yes you have the correct scenario, its to give a phone number to a courier when delivery is not to the billing address.

    This number will be different from the number on the billing field, so copying it across will not work. Removing it would get the form working but I am waiting for the client to decide if he can work with that. I expect the answer to be “no”.

    In which case I think we will just have to live with Apple Pay on the checkout page only.

    Thanks for your response, it clarified things for me. I’ll get back to you if I need help with the code you mentions.

    cheers

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @mikkey0001,

    Unfortunately the Apple Wallet only allows for a phone number associated with the customer’s Apple account to be exported. They don’t provide extra fields for a shipping number and so as you stated, looks like only using it on your checkout page is your best option.

    Kind Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘custom field and Apple Pay’ is closed to new replies.