Skip to content

Commit

Permalink
fix: order form submit with disabled button
Browse files Browse the repository at this point in the history
  • Loading branch information
cyl3x committed Feb 6, 2025
1 parent aae6647 commit 1ff08b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export default class SwagPaypalAbstractStandalone extends SwagPaypalAbstractButt
input.setAttribute('value', data.orderID ?? data.orderId);

this.confirmOrderForm.appendChild(input);
DomAccess.querySelector(this.confirmOrderForm, this.options.confirmOrderButtonSelector).click();
this.confirmOrderForm.submit();
}

/**
Expand Down

0 comments on commit 1ff08b0

Please sign in to comment.