Problems creating source
See original GitHub issueI’m trying to create a source id to send to backend which is expecting it in this format: src_1Bbn7iEnsJaaAUJe1UZASnCd
However I’m getting this error when trying to create it with createSourceWithParams using a test card number: No such source: card_1Bn6l9EnsJaaAUJeE8ZWQ0uU
This is my code, I probably missed something. I retrieve the card Id from paymentRequestWithCardForm(), apparently this is not correct. I’m not sure what other card ID is expected. Any help is appreciated.
stripe.paymentRequestWithCardForm()
.then((data) => {
if(data.card) {
const cardId = data.card.cardId
stripe.createSourceWithParams({
type: 'threeDSecure',
currency: 'eur',
amount: 1000,
name: 'Test',
returnURL: 'xxxx-stripe://stripe-redirect',
card: cardId
})
}
})
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Creating an issue - GitHub Docs
Use the "Repository" drop-down menu, and select the repository you want to open the issue in. Type a descriptive title and body for...
Read more >Creating a problem - IBM
You create a problem to record an underlying cause of one or more issues with service delivery or service support. Creating the problem...
Read more >3 Things you should do to quickly fix your problem in a open ...
Here are 3 tips for you to quickly fix problems in open source, it might be intuitive, but useful if you haven't tried...
Read more >Problems with Sources - The Áed - WordPress.com
I want to look further at the problems a historian has when studying sources. Each type of source has it's advantages and disadvantages....
Read more >Configure Problem Sources - YouTube
In this video, we'll be taking a closer look at how to configure your Problem Sources as an Admin User.If you want to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We can just use REST API
And we can see: Source - “id”: “src_1CG3vsIoYsg4cTtdYPOIoge1”, And - “three_d_secure”: “required”,
Next, we can use this Source instead Card. Also we can create new Source with Three D Secure on the Backend side
I am guessing that the createSourceWithParams method expects not a card_****** but a src_******. The problem here is that tipsi-stripe library does not support createSourceWithParams with type: card. Stripe.js requires you to create s Source with type card, before you are able to create a Source with type threeDsecure. But with tipsi-stripe this is not supported.
I have the same problem, and hope this will be prioritized.