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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Thu, 5 Oct 2017 21:26:41 +0000 (23:26 +0200)
commit263f8ec935ce8dfa8cf5d1c915a037084c952b1d
treed8c43d20bb869f88861fa98aa31ef4e63e432ca4
parent0c9717bcfca462d180f3309c7b743e167da7cd2b
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: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 10311769d460a775aa8c8ee8a190836a8f2b1f1e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 5a132e1c3fb19d232b51e7ae68e468ddf81c6d8b)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
opac/opac-account-pay.pl