#Paul Magico

1 messages ยท Page 1 of 1 (latest)

zealous sequoiaBOT
toxic harbor
#

You seem to have linked to this thread. Do you have a link to the thread you're talking about?

olive dawn
toxic harbor
#

Surely there is someone there who can tell me is there a version of STRIPE.NET CHECKOUT and ELEMENTS that works for c#.net v4.0?
Checkout and Elements are separate products for separate payment workflows. Are you trying to use both?

#

With other credit card providers that we have integrated with, they dont seem to use dlls in their code but seem to have a way of initialising the session through a web service call through HTTPS and then transferring the user to a new window or an iFrame. Do you have an option like this?
That's exactly what Checkout does

pure nova
#

@olive dawn what's up?

olive dawn
#

I am confused - we are using c#.net 4.0 + the latest STRIPE.NET dll is not compatible so we either need to use an older version of the STRIPE.NET dll that is compatible or use an alternative method that does not require a dll in our code - what do you suggest we do?

pure nova
#

I suggest using a newer version of the .NET framework, and then you'll be able to use our official library. https://github.com/stripe/stripe-dotnet#stripenet

If you can't do that, then if you want to call our API you'll have to write your own code that makes HTTP requests to our endpoints to accomplish what it is you're trying to do since you can't use the library.

olive dawn
#

We cant upgrade our platform as it's a complete eCommerce platform with many clients on it, so migrating it to a new version of .net is too big a job.

#

Do you know what version of STRIPE.NET is compatible with .net 4.0?

pure nova
olive dawn
#

Ok - so can you send me a link to a support article so that we can implement CHECKOUT and ELEMENTS without using the STRIPE.NET dll?

pure nova
pure nova
# olive dawn Ok - so can you send me a link to a support article so that we can implement CHE...

there's not specific doc โ€” the overall idea is https://stripe.com/docs/payments/accept-a-payment, you would look at the curl examples in the code snippets to see what API calls you need to write HTTP code to emulate. It requires a lot of custom work, if you have some code you're tried and are having specific trouble with we could try to answer questions about that since it can be confusing to format the calls correctly. Our suggestion is to not do that and use our library where possible, but you don't need to if you're comfortable calling the API directly.

olive dawn
#

We dont want to do a lot of custom work - we just want a hosted payment page option - with all our other credit card provider integrations, we just make some HTTP calls to "initialise the session" and are given a URL back which we either redirect hte user to OR load into an iframe and the credit card provider does all the rest (and it's PCI compliant) - and then when the user has completed their payment, they are redirected back to us where we just make one more HTTP call to them to confirm the payment details. This is easy to implement as it's just a small bit of custom code. Do you provide this type of option?

pure nova
#

Yes, that's what our Checkout product is, as my colleague said yesterday when answering the same question.

#

it is indeed easy to implement as it's mostly just a single API call you make to api.stripe.com/v1/checkout/sessions. Happy to help you debug some code you've tried to write to call that API based on the overall approach in the docs.

olive dawn
#

That sounds good to me - can you let me try it out for a few hours and come back to you with any questions (maybe leave this post open for a few hours)?

pure nova
#

not possible no, in a few hours I won't be here. We have to close the threads to allow us to handover between team members and different regions, this is a free support option and not a dedicated engineering resource where we can keep full context on each user, I'm sorry.

olive dawn
#

Ok

pure nova
#

if you post some .NET code that is attempting a HTTP call to our API in the main channel later and ask for help with fixing a specific issue with it then whomever is working on the channel at that time can help(but they will tell you to use our library instead, so you're just going to have to accept that we'll tell you that every time sorry)

olive dawn
#

I've had a look at the url you sent me and it looks perfect to what we need - https://stripe.com/docs/payments/accept-a-payment - and it also seems to handle GOOGLE PAY and APPLE PAY too, which is what we need too - just wondering if we then add SUBSCRIPTIONS to this too (i.e. they pay now and then we automatically charge their credit card for example once a month)?

Securely accept payments online.

#

Sorry about the typo - I meant "can we add SUBSCRIPTIONS to this too?"

#

You don tneed to answer that - the documentation says pass MODE as SUBSCRIPTION so I think this will be covered too

viscid lake
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!