Skip to content

Commit

Permalink
refactor: remove data-paypal-onboard-complete attr
Browse files Browse the repository at this point in the history
  • Loading branch information
alaca committed Nov 14, 2024
1 parent 982ead3 commit 36c0141
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/PaymentGateways/PayPalCommerce/AdminSettingFields.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,7 @@ class="button-wrap connection-setting<?php echo $canShowAccountInformation ? ' g
<?php esc_html_e('Click to get started!', 'give'); ?>
</span>
<?php // We are using one PayPal button to handle both sandbox and live mode connection.?>
<a class="give-hidden" target="PPFrame"
data-paypal-onboard-complete="givePayPalOnBoardedCallback" href="#"
data-paypal-button="true">
<a class="give-hidden" target="PPFrame" data-paypal-button="true">
<?php esc_html_e('Sign up for PayPal', 'give'); ?>
</a>
<?php endif; ?>
Expand Down

0 comments on commit 36c0141

Please sign in to comment.