Skip to content

Commit

Permalink
Make sure create_account and guest_account values are Yes or No
Browse files Browse the repository at this point in the history
  • Loading branch information
moon0326 committed Aug 26, 2021
1 parent 41c0f3d commit b2505f7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ function ( $payment_gateway ) {
'pq' => $cart_item['quantity'],
'payment_options' => $enabled_payment_options,
'device' => wp_is_mobile() ? 'mobile' : 'desktop',
'guest_checkout' => $guest_checkout,
'create_account' => $create_account,
'guest_checkout' => 'Yes' === $guest_checkout ? 'Yes' : 'No',
'create_account' => 'Yes' === $create_account ? 'Yes' : 'No',
'express_checkout' => null,
),
true
Expand Down

0 comments on commit b2505f7

Please sign in to comment.