Skip to content

Commit

Permalink
Small fix on payment-paypal ID lookup in PayPal Checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed Jul 15, 2024
1 parent d190f0c commit c74f4dc
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 c74f4dc

Please sign in to comment.