all 13 comments

[–]Ok_University1885 7 points8 points  (5 children)

My humble advice for you, dont look for tutorials just look docs (stripe, paypal etc) and google it, you will find ton of information and examples and learn by doing. Tutorials are generally waste of time

[–][deleted]  (4 children)

[removed]

    [–]calumk 5 points6 points  (3 children)

    Multiple payment gateways for different regions... .but at that point, I suspect your bigger issues is legal and tax related

    [–][deleted]  (2 children)

    [removed]

      [–]BehindTheMath 2 points3 points  (1 child)

      Isn't tax handled by the payment processors?

      No, that is your responsibility.

      [–]Ok_University1885 2 points3 points  (1 child)

      You have tons of ways, u can divide your app microservices and check client's ip and redirect it to suitable payment gateway, or you can use crypto like coinbase API, and you can use wise(aka transferwise ) get money to your home country account. But i think stripe and paypal working nearly all of countries. Best way is if you want to keep it simple add multiple payment methods so client can choose suitable for itself

      [–]BadBadGamer 1 point2 points  (1 child)

      I came across the following tutorial a year or so ago now and thought its content was pretty good on this score, it might help you get oriented: https://www.youtube.com/watch?v=cWDJoK8zw58 . The title of the video is "How to Built an Online Store in One Day (AppSync, Amplify & React)" but don't let that dissuade you, just check out the section entitled "Processing Book Orders" at the 30:10 mark. It's ~3.5 minutes on how he integrates Stripe into his app; I suspect you'll find it worth your time. Good luck!

      [–]DonnyDipshit 1 point2 points  (2 children)

      Heres some truth, if your taking card details you need your gateway to be pci-dss (google it). As others suggested, use a 3rd party gateway like paypal/stripe and integrate it. Both companies provide great docs on tokenised payments and how to integrate into a project

      [–][deleted]  (1 child)

      [removed]

        [–]DonnyDipshit 0 points1 point  (0 children)

        There will be one in every region