mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Merge branch 'trunk' into PCP-3136-enable-shipping-callback-for-wc-subscriptions
This commit is contained in:
commit
1de6039d5b
9 changed files with 185 additions and 41 deletions
|
@ -94,10 +94,7 @@ class Renderer {
|
|||
return {
|
||||
style,
|
||||
...contextConfig,
|
||||
onClick: (data, actions) => {
|
||||
venmoButtonClicked = data.fundingSource === 'venmo'
|
||||
this.onSmartButtonClick
|
||||
},
|
||||
onClick: this.onSmartButtonClick,
|
||||
onInit: (data, actions) => {
|
||||
if (this.onSmartButtonsInit) {
|
||||
this.onSmartButtonsInit(data, actions);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue