Open Azeem838 opened 2 years ago
When the user only inputs their first name in the address name field then the user's first and last names will get added to the recipientName here.
name
The issue is that these firstname and lastname methods always return a string and are not checking if a last_name actually exists.
firstname
lastname
last_name
Example: The user enters "John" as their name on the address field. The recipientName will be "John John"
recipientName
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
When the user only inputs their first name in the address
name
field then the user's first and last names will get added to the recipientName here.The issue is that these
firstname
andlastname
methods always return a string and are not checking if alast_name
actually exists.Example: The user enters "John" as their name on the address field. The
recipientName
will be "John John"