#some1ataplace
1 messages · Page 1 of 1 (latest)
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.
- some1ataplace-subscription-events, 12 hours ago, 56 messages
- some1ataplace-checkout-discounts, 6 days ago, 47 messages
It says <domain>/.well-known/apple-developer-merchantid-domain-association
Not really about downloading. During the domain verification check, Apple will hit a GET request to <domain>/.well-known/apple-developer-merchantid-domain-association and it should return the data in the text file
So would I have to put the file somewhere on my PC?
Step 1 is download the file but what do I do with it?
Depending on how your domain/website is hosted, you will upload the file to the server or directly onto the domain itself
I am really confused do you have a tutorial on this domain verification? Something like this? https://djangoadventures.com/how-to-create-file-download-links-in-django/
In order to create a download link, we need to create a Django view that would serve the files: # views.py import mimetypes ... def download_file(request): # fill these variables with real values fl_path = ‘/file/path' filename = ‘downloaded_file_name.extension’ fl = open(fl_path, 'r’) mime_type, _ = mimetypes.
The file from stripe can be located anywhere in my project folders?
I'm afraid we don't have a tutorial for this as every framework has different ways to do it. In general, if you have a static public folder, you can place the file under the path of /.well-known folder, so that it can be retrieved. Or you create a path to retrieve the file information.
okay so i do have to make a URL sort of like that django link suggests with that same exact url path?
It seems only apple does this? I clicked on Google pay from my payment methods to configure this and it keeps giving me an apple URL
Or will I need to make a new URL for each wallet that needs domain verification?
okay so i do have to make a URL sort of like that django link suggests with that same exact url path?
Yes
It seems only apple does this? I clicked on Google pay from my payment methods to configure this and it keeps giving me an apple URL
Only Apple Pay requires such domain verification. It's the requirement by Apple
Typical apple lol
So in that case if I only want to test google pay right now, I can or cannot do it without domain verification? Do I need to have the browser wallet too so I can see the payment method in checkout?
For Google Pay, you'd only need to register domain with Stripe, but domain verification is not required: https://stripe.com/docs/payments/payment-methods/pmd-registration
okay so i added the domain but still don't see google pay in checkout
Do you have a link to your site that you can share for us to access?
yea but i'd rather not
i have an unverified ngrok domain and i have google pay enabled
If you're uncomfortable with sharing it on a public site, you can reach out to https://support.stripe.com/contact/email with those details, including any login id (if required) and steps to navigate to the payment page and the team will get back to you
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
does it not work with ngrok?
what do you mean by an unverified ngrok domain?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
On this page I added an ngrok domain
I assume you registered the domain with Stripe but haven't verified the domain which is fine
you should have a valid live card added to your Google account's wallet
and you should be accessing the site on chrome
I need to do that to see it checkout?
oh that explains it not using chrome
thanks i'll try that 1 more question
checkout session:
line_items=[{
'amount':converted_amount,
'currency':'usd',
'quantity':1,
'name':'Donation',
}],
getting an error now for 1 time payment with the amount
i do not have a price id, the user could enter a custom amount
you still need a Price id. I suggest you follow the guide here : https://stripe.com/docs/payments/checkout/pay-what-you-want?dashboard-or-api=api
oh boy that is not good then
You cannot use line_items.amount, line_items.currency, line_items.name, line_items.description, or line_items.images in this API version. Please use line_items.price or line_items.price_data. Please see https://stripe.com/docs/payments/checkout/migrating-prices for more information.
what's your question? Like what the error message mentions, you should use line_items.price or line_items.price_data and you can view https://stripe.com/docs/payments/checkout/migrating-prices for more information.
nevermind got it to work