• Resolved cagsanovic

    (@cagsanovic)


    Hi there,

    I have made succesful payments from Germany with euros. But customer from saudi arabia gets this error even the price is in their currency (SAR).

    https://i.snipboard.io/lhUd5n.jpg

    (It says “Billing info is invalid”)

    Is it related with my woocommerce or “Stripe for woocommerce” plugin ? Or its on Stripe ?

    • This topic was modified 4 years, 5 months ago by cagsanovic.
    • This topic was modified 4 years, 5 months ago by cagsanovic.
    • This topic was modified 4 years, 5 months ago by cagsanovic.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @cagsanovic

    Based on the screenshot that you provided it looks to me like that particular customer does not have a billing address in their Apple Pay wallet. The billing address is required and us if they don’t have a billing address you will see that error message.

    Kind regards,

    Thread Starter cagsanovic

    (@cagsanovic)

    @mrclayton

    If I have an address input field and they fill before they click apple pay, will it work ?

    And lastly, If I select virtual and downloadable product, billing address is still required ?

    • This reply was modified 4 years, 5 months ago by cagsanovic.
    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @cagsanovic,

    There is no need to have an address input field on the product pages of your site. That’s the whole advantage of Apple Pay or GPay; they can export the billing and shipping address automatically so the order can be created without the customer needing to go through the checkout page.

    That notice is exactly how it should work, if the customer doesn’t have a billing address entered in their Apple Wallet then they will add one then continue with the purchase.

    Kind Regards,

    Thread Starter cagsanovic

    (@cagsanovic)

    @mrclayton I have unchecked the “shipping info required” on product settings, and thats nonsense for apple for needing it. Is it related with shipping address ? If I disable shipping address in woo settings, will that work ?

    In here, it says that we can set billing address “not required” when interacting with Apple Pay,

    https://i.snipboard.io/qAIndp.jpg

    Is there any option we can (or stripe) do, or thats all in apple’s part ?

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @cagsanovic,

    It’s related to the billing address, not the shipping address.

    I don’t know where you took that screenshot, some context would be helpful. That text says you can skip billing address validation, it doesn’t say you can make it optional.

    Stripe’s implementation of Apple Pay requires that the buyer provide a billing address for their payment method. This is for security purposes and is not editable since it’s part of the Stripe SDK.

    Kind Regards,

    Thread Starter cagsanovic

    (@cagsanovic)

    @mrclayton I got from reddit, first comment’s second paragraph.

    Billing address invalid
    byu/Scoobydiesel87 inAppleCard

    So what about adding billing input and when clicking apple pay, it uses billing address from that field, is it possible ?

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @cagsanovic,

    I mean anything is possible but I doubt that’s what you really want to do. Your conversion rate will go down a lot.

    There is no getting around the fact that Stripe’s Apple Pay implementation requires a billing address. Why is that an issue for you? It’s better that your customer enter a billing address in the Apple Wallet rather then address fields on your product page.

    Most customers will already have a billing address entered anyway since they will have used Apple Pay in the past.

    The thread on reddit is about something else. In Apple Pay, a state for example can be represented as “TX” or “Texas”. “TX” is the abbreviation and what many apps expect so if it comes in as Texas it will fail. That won’t happen with my plugin because I map the long name to the abbreviation for shipping address.

    Kind Regards,

    Thread Starter cagsanovic

    (@cagsanovic)

    @mrclayton I just dont want them see error on apple pay. I have asked woo commerce team and they said even they fill billing address field, this is about apple’s billing address of user and cant be transferred to there, is that correct ? If not- can you tell me the steps to add billing field under the apple pay button ?

    • This reply was modified 4 years, 5 months ago by cagsanovic.
    Plugin Author Payment Plugins

    (@mrclayton)

    @cagsanovic

    If they don’t see the notice then there’s no way for them to know the billing address is needed. It’s pretty common in eCommerce to display a notice for required fields.

    Adding billing fields to your product page is a customization that goes beyond the support of this thread. You don’t need those fields, they’re in the Apple Wallet already and plus, even if your customer filled out some billing address fields on the product page Apple Pay is still going to request them in the Apple Wallet.

    Kind regards,

    Thread Starter cagsanovic

    (@cagsanovic)

    @mrclayton I have tested and some other ecommerce shops, same phone and it works, because billing address is not required. https://i.snipboard.io/SIyvji.jpg

    In the stripe documentation, billing address field can be set as required or not here; https://i.snipboard.io/LMZutp.jpg

    There is no option on the plugin and the woocommerce right, which file should I edit this part ?

    • This reply was modified 4 years, 5 months ago by cagsanovic.
    • This reply was modified 4 years, 5 months ago by cagsanovic.
    Plugin Author Payment Plugins

    (@mrclayton)

    @cagsanovic

    It’s important to note what version of the Stripe docs you took that screenshot from.

    The latest version of Stripe does not appear to allow the billing address to be optional.

    Thread Starter cagsanovic

    (@cagsanovic)

    @mrclayton its from latest api. Here it is
    https://stripe.com/docs/apple-pay/web/v2/custom#billing-shipping

    And could you send me the source that you say its required by Stripe ?

    Plugin Author Payment Plugins

    (@mrclayton)

    @cagsanovic

    That is not the latest JavaScript SDK. That is version 2 and is the old way of integrating with Apple Pay.

    Thread Starter cagsanovic

    (@cagsanovic)

    @mrclayton Even Stripe had link there on the dashboard, it works as well, Its not depreciated. So is there anyway to use v2 api or your plugin is using last version and cant be edited ?

    Plugin Author Payment Plugins

    (@mrclayton)

    Notice here they recommend upgrading from V2.

    https://stripe.com/docs/apple-pay/web/v2/custom#shipping-methods

    And here is the latest sdk:

    https://stripe.com/docs/js/payment_request/create

    There is no option to specify whether the billing address is optional. That is because it is set to required by stripe.

    This plug-in supports the latest version of the stripe SDK and does not support version 2.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Billing is not valid (apple pay)’ is closed to new replies.