woocommerce-gateway-paypal-express-checkout
woocommerce-gateway-paypal-express-checkout copied to clipboard
PayPal Express checkout on single product doesn't include add ons
If there are add-ons on a product and the PPEC single product button is available and used, add-ons are not added to the cart/order.
Moved from: https://github.com/woocommerce/woocommerce-product-addons/issues/436
Affected ticket(s)
1598189-zen 13425837-hc
Steps to reproduce the issue
- Add a checkbox and file upload add-on to the product. Note: other add-on types work correctly.
- Have PPEC active and allowed on single product page
- Select multiple checkbox add-ons, upload a file and purchase with PPEC on the single product page
- Once checkout is complete, only 1 checkbox selection is present, the total is incorrect and the file is missing completely.
I haven't been able to replicate this.
- Single product page with product add-on selections.
- After clicking the PayPal button on the single product page and completing the modal I'm returned to the store with the addons intact.
- After completing the order the selected add-ons are copied.

Looking at the ticket, it looks to be solved by some other means. I'm closing this one but feel free to reopen if I've missed something.
@james-allan I am still able to replicate this on my own site, perhaps it has to do mainly with checkboxes? See this screencast for an example: https://d.pr/v/3EQIKR
This is from my System Status Report
### Active Plugins (5) ###
WP Simple Debug: by Jesse Pearson – 1.0.0
WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.18 – Not tested with the active version of WooCommerce
WooCommerce Product Add-ons: by WooCommerce – 3.0.21
WooCommerce: by Automattic – 3.9.0 – 3.9.1 is available
WP Mail Logging: by MailPoet – 1.9.5
I can also replicate this. This is caused only with file uploads as addons. As the product is not added to the cart, the file is never uploaded causing this issue.
Thanks @jessepearson for those additional details I too can now replicate with checkbox add-ons.
- Multiple chosen options.
- At PayPal the total is incorrect.
- When you return to the store, only the last checkbox ticked remains.
I'll update the initial description to note these specific steps.
2867955-zen
When testing, I only have multiple checkbox options and is only calculating the last selected checkbox to total:
Link to screenshot: https://d.pr/i/5IqOPC
€5 instead of €7:
Link to screenshot: https://d.pr/i/CZX7Hi
The current workaround is that each checkbox option is it's own separate field as that works, but not desirable:
Link to screenshot: https://d.pr/i/kReeR2
Link to screenshot: https://d.pr/i/9f6W8u