Skip to content

Commit

Permalink
Fix phone error
Browse files Browse the repository at this point in the history
  • Loading branch information
PaitoAnderson committed Jun 22, 2021
1 parent e9b988a commit 6c48cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/checkout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ class CheckoutPage extends Component {
firstname: this.state['customer[first_name]'],
lastname: this.state['customer[last_name]'],
email: this.state['customer[email]'],
phone: this.state['customer[phone]']
phone: this.state['customer[phone]'] || undefined
},
// collected 'order notes' data for extra field configured in the Chec Dashboard
extrafields: {
Expand Down

0 comments on commit 6c48cbd

Please sign in to comment.