#Valma

1 messages · Page 1 of 1 (latest)

stark inletBOT
viral raptor
#

Hello

#

How can I help?

dense plover
#

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 ?

viral raptor
#

Yes that should be fine

#

What VPS are you using specifically?

dense plover
#

without* sorry

viral raptor
#

Ah, no, you have to have a server to host your server-side code. Not really possible otherwise

dense plover
#

because I'm using a shared hosting on hostinger

#

premium hosting

#

not sure if it counts as a vps

viral raptor
#

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.

#

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

dense plover
#

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 ?

viral raptor
#

Hmm what do you mean by that exactly?

dense plover
#

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 ?

viral raptor
#

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

dense plover
#

do i need a to run a server for that ?

viral raptor
#

Yes

#

You need a server for any Stripe integration you build

dense plover
#

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

viral raptor
dense plover
#

so I can have a server on ruby, python, PHP, java, node, go and .net right ?

viral raptor
#

Yes

#

You can use any of those client libraries server-side.

dense plover
#

Hostinger's team told me that I can host PHP website

#

Does that mean I can run a PHP server ?

#

Just to make sure

viral raptor
#

Yes we support a PHP client library

dense plover
#

That's wonderful

#

I'll try this

#

Thanks for your help

viral raptor
#

Sure thing