Title: Solution for smart button billing address????
Last modified: April 7, 2020

---

# Solution for smart button billing address????

 *  Resolved [ahmdtaha](https://wordpress.org/support/users/ahmdtaha/)
 * (@ahmdtaha)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/solution-for-smart-button-billing-address/)
 * Hey, so my checkout process is long, customer should fill billing address on 
   my site and then when they click on credit card smart button by paypal he must
   fill it again

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Support [Fernando a11n](https://wordpress.org/support/users/fhaps/)
 * (@fhaps)
 * Automattic Happiness Engineer
 * [6 years, 1 month ago](https://wordpress.org/support/topic/solution-for-smart-button-billing-address/#post-12642858)
 * Hi [@ahmdtaha](https://wordpress.org/support/users/ahmdtaha/)! I’m a bit confused
   about what you’d like to change in the checkout process.
 * Can you elaborate a little on what workflow would you like customers to follow
   at checkout, versus what the current workflow looks like?
 * Once we have more details we’ll be able to tell whether this is possible to achieve
   with the PayPal Checkout plugin or not.
 *  Thread Starter [ahmdtaha](https://wordpress.org/support/users/ahmdtaha/)
 * (@ahmdtaha)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/solution-for-smart-button-billing-address/#post-12643534)
 * Current workflow: if customer press add to cart then they go to cart then press
   proceed to checkout, if they press buy now they proceed to checkout directly,
   they have fo fill their billing address on my site, then when they press credit
   card on paypal smart buttons they have to fill that billing address again.
 * My wanted workflow: they press add to cart or buy now, they go to checkout, they
   fill the billing address on my site, and then when they press on the credit card
   thing with paypal smart buttons, it automatically fill thr billing address for
   paypal with what they typed in our form, that means they just have to fill credit
   card info and pay
 *  Plugin Support [Fernando a11n](https://wordpress.org/support/users/fhaps/)
 * (@fhaps)
 * Automattic Happiness Engineer
 * [6 years ago](https://wordpress.org/support/topic/solution-for-smart-button-billing-address/#post-12669249)
 * [@ahmdtaha](https://wordpress.org/support/users/ahmdtaha/) In the settings of
   PayPal Checkout, can you confirm what have you set the Landing Page field to?
 * ![](https://cdn-std.droplr.net/files/acc_543088/UkApNK)
 * Additionally, can you provide us with a link to a product page on your store?
   So we can test the checkout workflow on our end.
 *  Plugin Support [Fernando a11n](https://wordpress.org/support/users/fhaps/)
 * (@fhaps)
 * Automattic Happiness Engineer
 * [6 years ago](https://wordpress.org/support/topic/solution-for-smart-button-billing-address/#post-12710887)
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   if you have any further questions, you can start a new thread.
 *  [simonlayfield](https://wordpress.org/support/users/simonlayfield/)
 * (@simonlayfield)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/solution-for-smart-button-billing-address/#post-13069178)
 * So I’m facing what I assume is the same issue – I have WooCommerce billing fields
   that the user completes, then the smart buttons displayed as a means of payment.
 * When clicking ‘Debit or Credit Card’, the user is then presented with a form 
   displaying an additional set of billing fields which, in my case at least, aren’t
   pre-populated according to the previous set of billing fields.
 * What’s strange, though, is that if I edit the shipping fields shown below the
   billing fields (which are empty) those are pre-populated with the values from
   the WooCommerce fields.
 * Is there a means of disabling these billing/shipping fields altogether for virtual
   products?
 *  [long267](https://wordpress.org/support/users/long267/)
 * (@long267)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/solution-for-smart-button-billing-address/#post-13078524)
 * I got the same issue, sometimes my customer doesn’t want to fill in the address
   two times. Have anyone resolved this problem.
 *  [simonlayfield](https://wordpress.org/support/users/simonlayfield/)
 * (@simonlayfield)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/solution-for-smart-button-billing-address/#post-13150044)
 * [@fhaps](https://wordpress.org/support/users/fhaps/) Sorry to bother, but I was
   hoping to get an indication as to whether this is something that can be solved.
 * If I override the createOrder function passed to the buttons, I’m able to prepopulate
   the Billing Address fields using the payer object:
 * [https://developer.paypal.com/docs/api/orders/v2/#definition-payer](https://developer.paypal.com/docs/api/orders/v2/#definition-payer)
 * Unfortunately it seems as though the woocommerce billing fields are serialized
   and sent to the paypal sdk as a fetch request body, so I’m unsure how to pass
   the payer details along – or if indeed the sdk is supposed to extrapolate the
   payer details from the billing address fields in the first place but isn’t working
   as intended.
 * If you could shed some light on this it would be much appreciated.
    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Solution for smart button billing address????’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-gateway-paypal-express-
   checkout_b298d1.svg)
 * [WooCommerce PayPal Checkout Payment Gateway](https://wordpress.org/plugins/woocommerce-gateway-paypal-express-checkout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gateway-paypal-express-checkout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-express-checkout/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-express-checkout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-express-checkout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-express-checkout/reviews/)

## Tags

 * [billing](https://wordpress.org/support/topic-tag/billing/)
 * [billing address](https://wordpress.org/support/topic-tag/billing-address/)
 * [paypal](https://wordpress.org/support/topic-tag/paypal/)

 * 7 replies
 * 4 participants
 * Last reply from: [simonlayfield](https://wordpress.org/support/users/simonlayfield/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/solution-for-smart-button-billing-address/#post-13150044)
 * Status: resolved