How to add paypal pay button

155 Views Asked by At

I browsed the paypal documentation but cant find an example on how to simply add a paypal pay button.

We have invoices in our system and like to provide a pay via paypal option. I would expect that there is a method available to do exactly that. Not having to create a paypal invoice or via a cart which the documentation seem to suggest.

Just a method to initiate a payment via

  • a simple button/link via http get; or
  • a form using a http post

Both accepting somewhat :

  • the merchant code,
  • a (unique) payment identification that we created,
  • the amount
  • the currency,
  • a http callback so we know a payment has been completed/cancelled with the given unique identification

I just need to find the documentation page to make this possible.

It seems that paypal does not provide a pay button (anymore?) so we have to create our own.

0

There are 0 best solutions below