We have mandatory custom fields in our checkout process that are validated in the ‘woocommerce_checkout_process’ action hook.
The issue is, that with Apple Pay (Payment Request) the custom field data does not get posted with the ajax call in stripe-payment-request.js in the function processSource()
Is there a way to add our custom field data to the POST data?
I could not find any.
A solution would be to add a filter for the data object in the JS function getOrderData() in the same file stripe-payment-request.js
Thanks for a hint and/or a future update to make custom checkout fields work with Apple/Google Pay!
- The topic ‘Custom Fields in Checkout with Apple Pay’ is closed to new replies.