woocommerce / woocommerce-gateway-stripe

The official Stripe Payment Gateway for WooCommerce
https://wordpress.org/plugins/woocommerce-gateway-stripe/
235 stars 206 forks source link

Wrong customer info sent to stripe.com #3080

Open NTShop opened 6 months ago

NTShop commented 6 months ago

Describe the bug We have a custom hidden frontend ordering page used by site admins to place orders for customers using the customer's payment cards. This page uses the standard WC checkout fields for billing, shipping, and payment methods.

When placing an order on this page and paying via Stripe using a payment card the Stripe plugin transmits to Stripe the name & address info of the logged in admin user instead of the customer's info from the order. Why is this happening?

Also note that unlike the public WC checkout page, when using this custom ordering page the associated custom code does not update the admin's user account with the info from the billing/shipping fields used when placing the order. This custom code intercepts the placement of the order and creates it, WC and Stripe handle the payment aspects just like the public checkout page.

Expected behavior The customer info from the order should be transmitted to Stripe, not the logged in admin user's info.

Environment (please complete the following information):

github-actions[bot] commented 1 month ago

Hi, This issue has gone 150 days (5 months) without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest version, you can help the project by responding to confirm the problem and by providing any updated reproduction steps. Thanks for helping out.

github-actions[bot] commented 3 weeks ago

This issue has gone 180 days (6 months) without any activity.