https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23761
Bug ID: 23761
Summary: Allow PayPal return url to be set based on current
domain, not OPACBaseURL
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: OPAC
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
In some library systems, each library has a customized sub-opac and a separate
PayPal account. This is accomplished using the css and syspref override
directives in the Apache conf. This all works great until a patron wants to
make a PayPal payment.
Let us assume OPACBaseURL is set to catalog.mylib.org, the generic unstyled
OPAC. Each library then has a 'sub-opac' such as labA.catalog.mylib.lorg. If
the patron is on an OPAC at libA.catalog.mylib.org, and makes a paypal payment,
the patron will not be returned to libA.catalog.mylib.org. Instead, the patron
will be send back to catalog.mylib.org.
The simple solution is to use the CGI module to build a URL using the current
base URL: $cgi->url( -base => 1 )
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/