Skip to content

Commit

Permalink
docfix/Tweak function name
Browse files Browse the repository at this point in the history
  • Loading branch information
constantine2nd committed Jul 8, 2024
1 parent b6ee37a commit da14891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/static/js/main-html-obp-consent-flow.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function makePaymentOBP(button) {
function createTransactioRequestObp(button) {
let resultBox = $(button).siblings('.payments_obp').empty().append('<h3>Response:</h3>');
let bankId = $(button).attr('bank_id');
let accountId = $(button).attr('account_id');
Expand Down Expand Up @@ -174,7 +174,7 @@ $(function () {
<label for="obp_payment_currency_${account['id']}">Currency</label>
<input type="text" value="EUR" name="obp_payment_currency_${account['id']}" id="obp_payment_currency_${account['id']}" class="form-control" >
</div>
<button onclick="makePaymentOBP(this)" id="make_payment_obp_${account['id']}" class="btn btn-info" account_id="${account['id']}" bank_id="${account['bank_id']}" result_box_id="${account['id']}">Create Transaction Request</button>
<button onclick="createTransactioRequestObp(this)" id="make_payment_obp_${account['id']}" class="btn btn-info" account_id="${account['id']}" bank_id="${account['bank_id']}" result_box_id="${account['id']}">Create Transaction Request</button>
<h6 id="path-of-endpoint-${account['id']}"></h6>
<div class="payments_obp" style="margin-left: 50px;"></div>
<hr>
Expand Down

0 comments on commit da14891

Please sign in to comment.