Bug 19007 - Allow paypal payments via debit or credit card again
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 31 Jul 2017 13:18:15 +0000 (09:18 -0400)
committerMason James <mtj@kohaaloha.com>
Tue, 24 Oct 2017 03:42:11 +0000 (16:42 +1300)
commit708eff99dabb527b95a0b23fc2a71a1b513dd3ca
treec00fa0e902a3948282d8b6d80bd37609d0a71949
parent1a750d873e5a2931080d47129b3c36890c61bbe8
Bug 19007 - Allow paypal payments via debit or credit card again

A recent change in Paypal has removed the previous default option of paying via debit or credit card without an account. To bring this option back, we need to send an additional parameter to the PayPal API.

Test Plan:
1) Enable paypal for your Koha instance
2) Ensure you are not logged in to PayPal
3) Attempt to pay a fine via PayPal
4) Not the the "Pay with Debit or Credit Card" option is missing
5) Apply this patch
6) Refresh opac-account.pl
7) Attempt to make a payment via PayPal again
8) Note the option "Pay with Debit or Credit Card" is now available

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: George Williams <gwilliams@nekls.org>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
opac/opac-account-pay.pl