Bugzilla – Attachment 65346 Details for
Bug 19007
Allow paypal payments via debit or credit card again
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19007 - Allow paypal payments via debit or credit card again
Bug-19007---Allow-paypal-payments-via-debit-or-cre.patch (text/plain), 1.53 KB, created by
Kyle M Hall
on 2017-07-31 13:57:45 UTC
(
hide
)
Description:
Bug 19007 - Allow paypal payments via debit or credit card again
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2017-07-31 13:57:45 UTC
Size:
1.53 KB
patch
obsolete
>From 728f27f232d0d442be24702bd6b49f0c4870c05e Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 31 Jul 2017 09:18:15 -0400 >Subject: [PATCH] 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> >--- > opac/opac-account-pay.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/opac/opac-account-pay.pl b/opac/opac-account-pay.pl >index 43261e8..6caebe2 100755 >--- a/opac/opac-account-pay.pl >+++ b/opac/opac-account-pay.pl >@@ -96,6 +96,7 @@ if ( $payment_method eq 'paypal' ) { > 'PAYMENTREQUEST_0_PAYMENTACTION' => 'Sale', > 'PAYMENTREQUEST_0_ALLOWEDPAYMENTMETHOD' => 'InstantPaymentOnly', > 'PAYMENTREQUEST_0_DESC' => C4::Context->preference('PayPalChargeDescription'), >+ 'SOLUTIONTYPE' => 'Sole', > }; > > my $response = $ua->request( POST $url, $nvp_params ); >-- >2.10.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19007
:
65343
|
65344
|
65345
|
65346
|
66693