I made a website with ecom inside, users can pay by credit card and bank transfer but i need to add paypal payment too.
What i need is:
1) create a button with xx,xx EUR currency (it depends by the total of the cart) and cart ID and user ID.
2) define a page for any payment fault by returning user ID and cart ID
3) define a page for landing when user pay (i've to be sure he've really payed) by returning user ID and cart ID.
What are the rights steps?
I read all documentation and read many guides but i can't figure out.
Please help me to understand this. Really thanks