Bugzilla – Attachment 113806 Details for
Bug 27044
Deprecate core support for PayPal payments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27044: Mark the PayPal integration as deprecated on the user interface
Bug-27044-Mark-the-PayPal-integration-as-deprecate.patch (text/plain), 4.13 KB, created by
Tomás Cohen Arazi
on 2020-11-19 11:10:55 UTC
(
hide
)
Description:
Bug 27044: Mark the PayPal integration as deprecated on the user interface
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2020-11-19 11:10:55 UTC
Size:
4.13 KB
patch
obsolete
>From 96746b15839437297752e11370937d5d2939cf37 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 17 Nov 2020 14:48:39 -0300 >Subject: [PATCH] Bug 27044: Mark the PayPal integration as deprecated on the > user interface > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > about.pl | 4 ++++ > koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 9 ++++++++- > .../prog/en/modules/admin/preferences/opac.pref | 1 + > 3 files changed, 13 insertions(+), 1 deletion(-) > >diff --git a/about.pl b/about.pl >index bade1ea0ae7..005835d5b22 100755 >--- a/about.pl >+++ b/about.pl >@@ -407,6 +407,10 @@ if ( C4::Context->preference('WebBasedSelfCheck') > ); > } > >+if ( C4::Context->preference('EnablePayPalOpacPayments') ) { >+ $template->param( paypal_enabled => 1 ); >+} >+ > # Test YAML system preferences > # FIXME: This is list of current YAML formatted prefs, should by type of preference > my @yaml_prefs = ( >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >index da675b086d8..8b3af8ae579 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >@@ -279,7 +279,7 @@ > Contact your system administrator. > [% END %] > >- [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnPrefKohaAdminEmailAddress || warnNoActiveCurrency || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || oauth2_missing_deps || bad_yaml_prefs || warnIssuingRules || config_bcrypt_settings_no_set || warnHiddenBiblionumbers.size %] >+ [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnPrefKohaAdminEmailAddress || warnNoActiveCurrency || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || oauth2_missing_deps || bad_yaml_prefs || warnIssuingRules || config_bcrypt_settings_no_set || warnHiddenBiblionumbers.size || paypal_enabled %] > <h2>Warnings regarding the system configuration</h2> > <table> > <caption>Preferences and parameters</caption> >@@ -375,6 +375,13 @@ > [% END %] > </td></tr> > [% END %] >+ [% IF paypal_enabled %] >+ <tr><th scope="row"><strong>Warning</strong> </th><td> >+ You are using the PayPal functionality, which is now deprecated and replaced in favor of using payment plugins that can implement >+ different payment services. Please install the plugin and follow the migration instructions in order to keep enjoying the PayPal >+ integration. This feature will be removed from Koha in a short term. >+ </td></tr> >+ [% END %] > </table> > [% END %] > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >index ccbd533b19e..3654080c028 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >@@ -901,6 +901,7 @@ OPAC: > yes: "sandbox" > no: "production" > - "mode." >+ - "<br/><strong>Warning</strong>: this functionality has been deprecated in favor of using payment plugins that can implement different payment services." > - > - "The email address to receive PayPal payments is " > - pref: PayPalUser >-- >2.29.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 27044
:
113750
|
113806
|
113843
|
113949