Angular 2 paypal

前端 未结 2 1719
日久生厌
日久生厌 2021-01-05 22:30

I am setting up a new ecommerce project with angular 2 and firebase. My issue is how to integrate a paypal button and when customers click on it, they will be redirected to

2条回答
  •  一向
    一向 (楼主)
    2021-01-05 22:59

    Thanks all for the solutions and here is our delayed solution: as Firebase controls the backend, it is impossible to setup a payment system on it, we setup a light-weight nodejs express server hosted on google cloud platform which can communicate with paypal to receive IPN data from paypal each time our customer makes a payment. The IPN data will be used to check with realtime data from Firebase and updates payment status to client side.

提交回复
热议问题