mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix AXO Ryan flow submission.
This commit is contained in:
parent
80f8edb594
commit
0fd27144ae
2 changed files with 16 additions and 4 deletions
|
@ -95,8 +95,8 @@ class CardView {
|
|||
const name = this.group.dataValue('name');
|
||||
const { firstName, lastName } = this.splitName(name);
|
||||
|
||||
data['firstName'] = firstName;
|
||||
data['lastName'] = lastName;
|
||||
data['billing_first_name'] = firstName;
|
||||
data['billing_last_name'] = lastName ? lastName : firstName;
|
||||
|
||||
return this.group.toSubmitData(data);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue