Skip to content

Commit

Permalink
[ECP-9382-v3] Add holderName to OneClick payment requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Can Demiralp committed Aug 2, 2024
1 parent d058882 commit 481a1cc
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,10 @@ export default class ConfirmOrderPlugin extends Plugin {
},
onSubmit: function(state, component) {
if (state.isValid) {
if (isOneClick) {
state.data.paymentMethod.holderName = paymentMethod.holderName ?? '';
}

let extraParams = {
stateData: JSON.stringify(state.data)
};
Expand Down

0 comments on commit 481a1cc

Please sign in to comment.