#yabdab - Apple Pay connect
1 messages ยท Page 1 of 1 (latest)
Hello, yes it does work with connect but there can be subtle issues with how to set this up
Can you send me the ID of this connected account?
Also where exactly are you getting that error?
acct_1A1yDfGKMHqraiAT
in the console when I attempt to mount the button
Either you do not have a card saved to your Wallet or the current domain (sandbox.platform.com) or stripeAccount parameter (acct_1A1yDfGKMHqraiAT) is not registered for Apple Pay. Visit https://dashboard.stripe.com/account/apple_pay to register this 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.
I can message you a tmp url to look at, just don't want it public
Thanks, checking in to this
And are you creating direct charges here or are these destination charges?
what is the difference, I want paynent o go directly to standard connected account, never going through the platform
Direct charges are payment intents that you create directly on the connected account, they work best with standard accounts
I am assuming that is how I have it setup
If you are using those you probably are using some parameter like stripe_account = acct_123 when creating the payment intent
using my platform client_id and passing along the connected account id
In that case, you will want to use the stripeAccount param when initializing Stripe.js in your client side code https://stripe.com/docs/js/initializing#init_stripe_js-options-stripeAccount
Can you send me the ID of the payment intent that you are using here? (pi_123)
looks likeI need to clean up somehting first, just a sec
ok, i need to regenerate my platform key to work . Stay tuned
ok, all is good, still no apple pay button though
When you say all is good, does that mean some progress has been made here? Or just that regenerating the key fixed some other issue?
yea, switched to live mode to see if that would fix things. It did not
Gotcha. So can you send me the ID of one of these payment intents (pi_123)?
pi_3LZc18GKMHqraiAT0VNz4iZU
nothing in the console , error not showing, maybe because using live key?
Ah I found it, for this kind of charge, you need to register Apple Pay slightly differently
Basically, you need to remove the apple pay domain from the account and re register through the API like this https://stripe.com/docs/stripe-js/elements/payment-request-button?html-or-react=html#html-js-using-with-connect
For standard charges like this you need to register the domain via the API as the connected account
use the platform key, but designate the connected account id in the call, correct?
Correct
will the domains still show up in dash, or is it all programatic ?
I think they should show up in the dashboard here
It is also important to do this with your live mode platform key
but the current versions need to be removed first?
Correct
Is this still on acct_1A1yDfGKMHqraiAT?
yes
I am not seeing any domains on that account that were registered today.
cant find url to go delete current
Let me see if I can see your API call in our logs
nm, got it
Good to hear, I am less familiar with the dashboard. Was going to say that you can do it with the API too. https://stripe.com/docs/api/webhook_endpoints/delete
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
๐
that did it. thanks so much!
I think I tried this before, but used test key
now I know.
Have great day friend ๐
one last thing, if I am in test mode, I can use cards in my wallet but they will not be charged, correct?