#Valma
1 messages · Page 1 of 1 (latest)
Hey, so I was wondering if it was possible to integrate stripe to my code and have a node.js server with having an vps ?
without* sorry
Ah, no, you have to have a server to host your server-side code. Not really possible otherwise
because I'm using a shared hosting on hostinger
premium hosting
not sure if it counts as a vps
I'm not familiar with hostinger, but as long as you can hit the Stripe API and receive webhooks from your server then you should be fine.
Just a quick google yields: https://support.hostinger.com/en/articles/6538420-website-builder-how-to-enable-online-payments-with-stripe
Which makes me think it is totally possible
Ah actually that looks like a plugin for hostinger
My recommendation would be to reach out to hostinger directly -- they will know what their capabilities are
But I do think plenty of folks use shared servers so I think it should be fine
alright let me ask
By the way I have another question
What are the actual solutions for accepting payments when I already have a cart ?
Hmm what do you mean by that exactly?
Like it needs to count all the products that my cart has and go to Stripe to pay
With all the products
Did you understand ?
Well that depends on the integration you use.
Stripe Checkout for instance supports using Products and Prices in Stripe and then is a redirect to the payment page
So that sounds like what you want based on what you described above
The integration guide for that is here: https://stripe.com/docs/payments/accept-a-payment
do i need a to run a server for that ?
what other server apart from node.js is used for stripe ?
After contacting the support they told me that node.js is not supported but some could be supported
I don't understand, sorry. Yes we support a Node.JS client library. You can see our different server-side SDKs here: https://stripe.com/docs/libraries
so I can have a server on ruby, python, PHP, java, node, go and .net right ?
Hostinger's team told me that I can host PHP website
Does that mean I can run a PHP server ?
Just to make sure
Yes we support a PHP client library
Sure thing