Skip to content

Commit

Permalink
Re-added bugfix for payment-paypal ID in PayPal Checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed Jul 15, 2024
1 parent a3aa8de commit 302a8c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ function updatePayPalButton(button_page_code, paypal_callback = '') {
var button_enable_funding = [];
var button_disable_funding = [];
$('.payment-paypal [id^=input_button_' + button_page_code + '_funding']).each(function() {
$('.payment-paypal [id^=input_button_' + button_page_code + '_funding]').each(function() {
if ($(this).val() == 1) {
button_enable_funding.push($(this).attr('funding_code'));
}
Expand Down

0 comments on commit 302a8c4

Please sign in to comment.