#alexander-applepay-domain

1 messages · Page 1 of 1 (latest)

deft stoneBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

daring mason
#

@dapper hornet we don't have docs for older API versions unfortunately. What are you trying to answer exactly?

#

alexander-applepay-domain

dapper hornet
#

I have created an apple pay domain with the following code. Is it activated and verified automactically?

stripe.ApplePayDomain.create(
            stripe_account=account_id,
            api_key=secret_key,
            domain_name=domain_name,
        )
#

New API requires additional verification step

daring mason
#

yes that one is verified automatically and if the verification fails the creation fails

dapper hornet
#

Thank you! Yet apple pay doesn't seem to work unfortunately.

Error message:
Either you do not have a card saved to your Wallet or the current domain (<reducted domain>) or stripeAccount parameter (<reducted stripe connect account>) is not registered for Apple Pay.

daring mason
#

Okay so let's focus on your real question then and not the first one. Apple Pay doesn't work, please provide detailed and crisp information about the entire integration so I can help you further!

dapper hornet
#

I have just DMed you the details

daring mason
#

okay you registered the domain in Test mode and that will never work with that old API. It had a really old quirk where the registration should only happen in Live mode
This is fixed on the newer API so I'd recommend 100% using the newer one

dapper hornet
#

Ok, thank you. Am I right that I can upgrade to Python SDK v6, set stripe.api_version to the old one, but modify stripe_versions for that specific request for PaymentMethodDomains?

#

Like that
stripe.PaymentMethodDomains.create(
stripe_account=account_id,
api_key=secret_key,
domain_name=domain_name,
stripe_version="2023-xx-xx"
)

daring mason
#

yes you can upgrade (careful with breaking changes)
yes you can force the API version you want
no you don't need to set a specific API version for that request, old API versions will work totally fine

dapper hornet
#

Thank you very much!