• Resolved King Ding

    (@dazzerr)


    If Apple/Google Pay are available at the checkout as a payment method, and the customer has not filled in any account information such as Username/Email etc, how does the transaction work?

    For example, without entering any information, I can click Apple Pay and proceed with the transaction despite not entering any profile information? This could be problematic for some sites using WooCommerce Subscriptions for example?

    It would be ideal if the user fields could be validated before being able to use Google/Apple Pay?

    Thanks!

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

    (@mrclayton)

    Hi @dazzerr

    and the customer has not filled in any account information such as Username/Email etc, how does the transaction work?

    The plugin will use the billing and address info returned by Apple Pay / GPay and populate the checkout fields.

    This could be problematic for some sites using WooCommerce Subscriptions for example?

    No, because the address info can be provided by the payment method. The checkout fields get populated if they are not manually filled out by the customer before clicking the payment button. If the customer has already entered their address info on the checkout page then Apple Pay / GPay will not request that information in the wallet popup.

    It would be ideal if the user fields could be validated before being able to use Google/Apple Pay?

    When using express checkout this would defeat the purpose since express checkout offers the customer a quick way to pay and populate all of the address info required to process a payment. For non express payments, it still gives the customer the opportunity to use existing address info rather than manually enter it.

    Kind Regards,

    Thread Starter King Ding

    (@dazzerr)

    Thanks for helping me understand! My only question is – how is the username field populated? And the password? What determines their username and password if they don’t manually input this information?

    • This reply was modified 1 year, 1 month ago by King Ding.
    Plugin Author Payment Plugins

    (@mrclayton)

    My only question is – how is the username field populated? And the password?

    That depends on your settings within the WooCommerce account settings page.

    /wp-admin/admin.php?page=wc-settings&tab=account

    Kind Regards

    Thread Starter King Ding

    (@dazzerr)

    Given these settings (https://imgur.com/7GX7Tdu), I would assume that Apple Pay payments would be rejected because usernames are set to not auto generate?

    Plugin Author Payment Plugins

    (@mrclayton)

    I would assume that Apple Pay payments would be rejected because usernames are set to not auto generate?

    The payment wouldn’t be rejected because WooCommerce would validate these fields before the payment is attempted. WooCommerce validates all required fields before it tells the Stripe plugin to process the payment.

    That means your customer would be prompted to fill in all required fields and then they can click the Place Order button where their order will be processed.

    You can test all of these scenarios by setting the plugin to “test” mode.

    Kind Regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Apple Pay & Google Pay Validation’ is closed to new replies.