#Reyansh Sharma
1 messages · Page 1 of 1 (latest)
No, i'm afraid not.
Thanks there is no workaround as well?
Don't know why though I thought card fingerprints will be the same for all.
No, card fingerprints will be different in different Stripe accounts
How about using connected accounts? Just started going through the same now so not sure if going to help
It's the same, card fingerprints will be different
@uncut nimbus This is not working anymore. just going through the Documentation etc.
Sorry for the trouble need a workaround even a dirty one (Kind of crucial - If nothing will work then probably going to use combo of last4, expiry etc etc) so shooting in the dark 🙂
Or can you tell the problem that you want to solve and I'll see if I can come up with a alternative solution?
For sure scenario -->
We have a donation platform that uses Stipe SDK/API & reader (in many-to-many relationships - Have multiple stripe accounts with mu7ltipel readers).
- Donate on the platform.
- Email after the donation is optional if the donor will provide the email we are creating a stripe customer and adding donations to that customer's account & keep track of the email in the database.
- If no email is provided there is no way we can associated the donation with a stripe customer etc
Now if the donor wants to register with us later we were planning to attach all previous donations using fingerprint with the user account(Which is not possible as a donation may be from different stripe accounts hence different fingerprints for each).
Ok, so I believe you have multiple Stripe accounts to collect donations from your customers. and your use customer email to ID the customer?
Thats correct
OK. Can you tell me why you want to compare the card fingerprint?
I have multiple donations with no customer/email in the database (Though we have payment method details for each donation with card fingerprint info):
Donation 1 from Card ending 4242 from 2021.
Donation 2 from Card ending 4242 from 2021.
Donation 3 from Card ending 4242 from 2022.
Donation 4 from Card ending 4242 from 2023.
Now donor decided to register with us in 2023 and requested to sync all the above donations to the account (The donor will provide the card information to sync donations).
I was planning to get all donation records from DB where donation.fingreprint == newlyAddedCard.fingreprint and attach to newly created donor account.
OK. Then how do you manage a customer across different Stripe accounts? Do you have an internal DB to consolidates the customers objects from various Stripe accounts?
Yes, I can map them (Multiple stripes to multiple customer) in DB though not doing much with that info at the moment.
Though case when they provide the email address.
OK, and this is based on the assumption that the customers are using unique cards, and one customer uses only one card.
- We are creating a payment intent.
- Charge it --> Payment success.
- Asking the donor to provide the email address.
- If email provided mapping PI with the stripe customer and saved the mapping locally as well.
If no email address is provided only the first two steps.
They can use multiple cards though to sync the donations from multiple cards they have to add them to account after registration.
OK. since the card fingerprints are different, so I don't see a easy way to reconcile. You might want to also take a look at other data (last4, exp_month, exp_year, funding, network)
Yup that is what I suspect now.
So this might be the only way to do so now, Which is not 100% accurate as well.
Can you check if we can use the connected accounts for future to resolve this issue?
As per the update:
When being viewed by a platform, cards and bank accounts created on behalf of connected accounts will have a fingerprint that is universal across all connected accounts. For accounts that are not connect platforms, there will be no change.
This universal fingerprint might be helpfull.
I haven't test this out. You can try it out and see if the result is what you expect