Product Icon

PayPal Braintree for WooCommerce

Accept PayPal, credit cards and debit cards with a single payment gateway solution — PayPal Powered by Braintree.

Compatibility with Composite Products (and other custom product types)

Custom product types are useful and common, and quick pay buttons on the product page drive sales.

The developers of Composite Products say plugins like theirs may be able to hide quick pay buttons added by PayPal Powered by Braintree, but that the Braintree plugin doesn’t otherwise allow them to pass the calculated Composite Product prices to the quick payment buttons. Here are their comments:

“`
It looks like this extension doesn’t fully support custom product types, such as Composite Products. I discussed this with the rest of the team here and they mentioned that this type of integration should be handled on the ‘quick pay’ plugin’s side. On our side, we can only add a basic integration that removes the quick-pay buttons on the single product page (as we did with PayPal Express Checkout). We cannot write code that changes the way Composite form data are passed to the quick pay buttons gateway.

Here was the Composite Products’ authors comments when they were asked about compatibility with their plugin:

To make these smart pay buttons work for custom product types, the developers of this extension should address the following:

Determine when these quick pay buttons will be visible. These buttons should be hidden when the current Composite configuration is invalid.

To get started with this, they can have a look at our integration with the PayPal Express Checkout buttons: https://a.cl.ly/YEuREojr. Similarly, with custom JavaScript code they can retrieve the Composite’s configuration by calling composite.api.get_composite_configuration().

Use this data in any way they like and pass it to the payment gateway in an appropriate format.
“`

Requested in 4119147-zen

Author

Current Status

Open

Last updated: July 6, 2021

1 comment

Log in to comment on this feature request.

  1. George says:

    This is incredibly import for us to enable PayPal, PayPal credit and Apple Pay onto our product pages.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.