Support » Plugin: WooCommerce Stripe Payment Gateway » Order data lost with Apple Pay Gateway

  • Resolved Lemontec

    (@lemontec)


    Hello,
    we facing an issue with stripe and Apple Pay.
    If the user uses this option to pay, the order information provided by the customer like the address, notes and custom fields are lost during the checkout.

    It seems that apple pay returns their data and thats it.

    Everything provided before paying is not passed to apple or stored during the checkout.

    I found this issue where somebody had problems with custom fields as well and had to do a hack to fix that.
    https://wordpress.org/support/topic/custom-fields-in-checkout-with-apple-pay/

    But at least default fields should get passed to Apple Pay and should be stored correctly in the order

    • This topic was modified 6 months ago by Lemontec.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Igor H woo-hc

    (@ihereira)

    Hello,

    the order information provided by the customer like the address, notes and custom fields are lost during the checkout.

    Sorry to hear that.

    Have you performed a conflict test? This might help to identify the problem, please follow these steps:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce and WooCommerce Stripe Payment Gateway
    • Repeat the action that is causing the problem

    If the issue disappears it means there was another plugin affecting it, you can then reactivate your plugins one by one, You can find a more detailed explanation on how to do a conflict test here.

    Let us know how it goes.

    Thread Starter Lemontec

    (@lemontec)

    Hello,
    yes I have tried this.
    In that case I can only try the notes field to see if the value is stored when the payment is completed, because ACF Fields are disabled then. The behaviour is the same and the notes are empty.

    If I change the address and other information on the checkout page and choose apple pay then, the data in the order is only the data which was provided by apple pay, the notes and the address information I entered are lost.

    Plugin Support Paul J a11n

    (@pauljacobson)

    Hello @lemontec

    yes I have tried this.
    In that case I can only try the notes field to see if the value is stored when the payment is completed, because ACF Fields are disabled then. The behaviour is the same and the notes are empty.

    If I change the address and other information on the checkout page and choose apple pay then, the data in the order is only the data which was provided by apple pay, the notes and the address information I entered are lost.

    Thank you for your feedback. Please would you tell me more about this issue:

    • Is the shipping address by any chance to the USA or Canada?
    • Please would you enable debug mode for the Stripe extension in WooCommerce > Settings > Payments in the _Advanced Settings_, like this:
    • Screenshot link

    Thread Starter Lemontec

    (@lemontec)

    Hello!
    No the shipping was in Austria.
    Debug mode was already enabled.

    For the order with Apple Pay, the Address in the log is already the one from Apple Pay and not the one provided during the checkout.

    Regarding the missing ACF Field values and the notes field, they don’t show up in the logs, but I think this is normal. I checked with a credit card order where the fields are stored and were provided, they are not in the logs either.

    It seems, that with Apple Pay the order of the transaction is different.

    For me it looks like:
    Apple:
    Press Apple Pay button -> Initiate Apple Pay checkout -> Payment done -> Woocommerce order is created with post result data from Apple Pay

    Credit card:
    Press place order button in checkout -> Order stored with all values -> Credit card payment initiated -> order updated.

    It would make sense, that there are different methods handling these two different buttons, but I think when choosing Apple Pay, the order should also be stored first.

    Plugin Support nathvi V. a11n

    (@nathvi)

    Hello @lemontec

    We’d like to review and analyze the errors logged when this occurs.

    Can you contact us via ticket by going to https://woocommerce.com/my-account/create-a-ticket/ and include a copy of the most recent logs from WooCommerce> Status> Logs: look for the item with the name Stripe.

    Please also include any affected orders and screenshots so we can further investigate.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Order data lost with Apple Pay Gateway’ is closed to new replies.