With Klarna Checkout you have an embedded checkout solution that handles both payment methods and customer address fields. In some cases you might need to collect more information than the regular customer address data.
Default checkout fields
↑ Back to topWC()->customer right before the checkout form is submitted and the order is created in WooCommerce:
- Billing First name
- Billing Last name
- Billing Postcode
- Billing City
- Billing State (if needed)
- Billing Country
- Phone
- Email address
- Shipping First name
- Shipping Last name
- Shipping Postcode
- Shipping City
- Shipping State (if needed)
- Shipping Country
Custom checkout fields
↑ Back to topwoocommerce_checkout_fields. These fields will then be displayed below the order notes textarea field.
An example
↑ Back to top
In this case we made the field a required field. By doing that the purchase will not be finalized when pressing the Place order button until data has been entered into the Custom info field.