Skip to content

Commit

Permalink
Add configure action to save PayPal and Venmo item
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinamiko committed Jan 27, 2025
1 parent b0a5d9b commit fe412d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const SettingsBlock = ( {
};

return (
<div className={ blockClassName }>
<div className={ blockClassName } id={ className }>
<BlockTitle
blockTitle={ title }
blockSuffix={ titleSuffix }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@ const Features = {
text: __( 'Configure', 'woocommerce-paypal-payments' ),
onClick: () => {
selectTab(
TAB_IDS.PAYMENT_METHODS,
'ppcp-paypal-checkout-card'
).then( () => {
setActiveModal( 'paypal' );
} );
TAB_IDS.SETTINGS,
'ppcp--save-payment-methods'
);
},
showWhen: 'enabled',
class: 'small-button',
Expand Down

0 comments on commit fe412d1

Please sign in to comment.