woocommerce-gateway-paypal-express-checkout icon indicating copy to clipboard operation
woocommerce-gateway-paypal-express-checkout copied to clipboard

PayPal Express checkout on single product doesn't include add ons

Open jessepearson opened this issue 6 years ago • 5 comments

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

  1. Add a checkbox and file upload add-on to the product. Note: other add-on types work correctly.
  2. Have PPEC active and allowed on single product page
  3. Select multiple checkbox add-ons, upload a file and purchase with PPEC on the single product page
  4. Once checkout is complete, only 1 checkbox selection is present, the total is incorrect and the file is missing completely.

jessepearson avatar Aug 08 '19 18:08 jessepearson

I haven't been able to replicate this.

  1. Single product page with product add-on selections.
  2. After clicking the PayPal button on the single product page and completing the modal I'm returned to the store with the addons intact.
  3. After completing the order the selected add-ons are copied.

Screen Shot 2020-01-30 at 11 26 40 am

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 avatar Jan 30 '20 01:01 james-allan

@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

jessepearson avatar Jan 30 '20 12:01 jessepearson

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.

menakas avatar Jan 30 '20 13:01 menakas

Thanks @jessepearson for those additional details I too can now replicate with checkbox add-ons.

I'll update the initial description to note these specific steps.

james-allan avatar Jan 31 '20 03:01 james-allan

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

yukikatayama avatar Apr 14 '20 16:04 yukikatayama