#milashin_im - link card

1 messages · Page 1 of 1 (latest)

scenic dagger
#

Hello, what error are you running in to?

#

Ah the one in the second screenshot. I saw it but that didn't click for a moment

brittle badger
#

In test mode, I can not add a credit card

brittle badger
#

I'll try to repeat

#

Here is the text of the exception

#

Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see https://stripe.com/docs/testing.

#

I need to bind cards in the background of my back-end solution

true plover
brittle badger
true plover
#

if you're not then you can not integrate this way. You should follow our guides — card data come from the end-customer directly in their web browser and is submitted through our frontends like Elements/Checkout, you can not handle raw card data in your backend .NET code, that is not possible.
https://stripe.com/docs/payments/accept-a-payment

brittle badger
#

Can I create a cuctomer and through onboarding add a credit card through the stripe service?

true plover
#

@brittle badger what do you mean by "onboarding" specifically?

brittle badger
true plover
#

you can add customers and accept their card details yes, it's all covered in our documentation — https://stripe.com/docs/payments/save-and-reuse for example. The approaches to use are the ones in the documentation, not submitting raw card numbers you collect yourself to the backend API, that is not an approach you can use.

#

@brittle badger that is for Connect, so those are not "customers" you onboard, they are business partners/service providers that you pay money to, not customers that you take money "from". So it's an entirely different thing.

brittle badger
#

Do you have the same way to add cards for customers as we do it for connected accounts ("onboarding")?

true plover
brittle badger
#

Can I use Checkout to link a card to a customer?

#

Then get it through stripe api in order to make payments in the background?

#

For example, a purchase costs $100 but must be charged $2 each week

true plover
#

yes

brittle badger
#

Are you there?

true plover
brittle badger
brittle badger
#

The user is validated on the first payment, for example $1, the system stripe understands that he is a real customer, and now I can create payments by his StripeID and make refunds if it is necessary according to the algorithm of payments in my company?

foggy mica
foggy mica
brittle badger
foggy mica
#

Okay so in that case you would want to set up payments for future use.

lyric cobalt
#

Hi taking over for Snufkin. Can you provide why you don't think that recommendation is a good fit for you?

brittle badger
#

I'm thinking of the right way to ask you a question.

ionic patrol
#

“if you want us to do repetitive logic” - we don't want to use repetitive logic, we want to make different payments for different amounts without disturbing this customer. (the user previously agrees to such payments by signing a license agreement, as part of the ordered service)

lyric cobalt