#ahsanetics

1 messages · Page 1 of 1 (latest)

limpid cloudBOT
quiet fog
merry lake
#

I did and got tons of error with it.

#

I can look at it again. There is another option I looked at but got a message that it is legacy

#

If you don't mind, are you able to explain me the workflow of payment through stripe regarding one time payment

#

From my understanding, when user click pay , website should communicate with stripe to create a session. Once session is is generated then website initiates a charge with stripe

quiet fog
#

This channel is for technical integration using official Stripe library. For questions related to community library like ngx-stripe, their Support will be able to help

#

From my understanding, when user click pay , website should communicate with stripe to create a session. Once session is is generated then website initiates a charge with stripe
Do you use Checkout Session (Stripe hosted payment page) or Payment Element (embedded payment form in your website)?

merry lake
#

Ok thanks mate. I will try them. Appreciate your help. Will jump in if I get stuck somewhere

merry lake
#

I was looking for stripe hosted page but I tell them to charge this amount

quiet fog
#

If you're looking at Checkout Session (Stripe hosted payment page), I'd recommend checking the guide here: https://stripe.com/docs/checkout/quickstart

The steps will be:

  1. Use PHP backend to create the a Checkout Session that will return the payment page URL
  2. Either your client or server redirects customer to the URL
#

If you performs server redirects at step 2, there shouldn't be angular needed

merry lake
#

So I initiated this process. I have been getting 500 error on the backend php script

#

Have tried try and catch to locate the issue but unable to get it. Keep in my mind, I am using godaddy at the backend so can't configure php much interest of installing library

#

I will try again and then I can post the error. I know it is late now. Will round up tomm

#

Appreciate your time

quiet fog
#

I have been getting 500 error on the backend php script
If the 500 error was returned from Stripe, can you share the request ID (req_xxx)? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request

#

If it's not, I'd recommend checking why your server returned 500 to your client

merry lake
#

Ok I will look in to it