Closed basir closed 11 months ago
Looks good to me, I tested and it does solve the issue, nice one.
I see you have REACT_APP_PAYPAL_CLIENT_ID=YOUR_PAYPAL_CLIENT_ID
env variable now in the frontend.
So we should also be able to remove:-
line 7 from constants.js
And the useGetPaypalClientIdQuery from orderApiSlice
create paypal order in backend capture payment order in backend.