View | Details | Raw Unified | Return to bug 23761
Collapse All | Expand All

(-)a/opac/opac-account-pay.pl (-2 / +1 lines)
Lines 79-85 if ( $payment_method eq 'paypal' ) { Link Here
79
      ? 'https://api-3t.sandbox.paypal.com/nvp'
79
      ? 'https://api-3t.sandbox.paypal.com/nvp'
80
      : 'https://api-3t.paypal.com/nvp';
80
      : 'https://api-3t.paypal.com/nvp';
81
81
82
    my $opac_base_url = C4::Context->preference('OPACBaseURL');
82
    my $opac_base_url = $cgi->url( -base => 1 );
83
83
84
    my $return_url = URI->new( $opac_base_url . "/cgi-bin/koha/opac-account-pay-paypal-return.pl" );
84
    my $return_url = URI->new( $opac_base_url . "/cgi-bin/koha/opac-account-pay-paypal-return.pl" );
85
    $return_url->query_form( { amount => $amount_to_pay, accountlines => \@accountlines } );
85
    $return_url->query_form( { amount => $amount_to_pay, accountlines => \@accountlines } );
86
- 

Return to bug 23761