Error creating a new payment methode

  • Posts: 199
  • Thank you received: 12
  • Hikashop Business
8 months 2 days ago #365237

-- HikaShop version -- : 5.1.2
-- Joomla version -- : 5.2.3
-- PHP version -- : 8.2

When I create a new payment methode I get the error:

in /home/deb3757n292/domains/johnflora.nl/public_html/plugins/hikashoppayment/platron/PG_Signature.php (line 17)

    public static function getScriptNameFromUrl ( $url )
    {
        $path = parse_url($url, PHP_URL_PATH);
        $len  = strlen($path);
        if ( $len == 0  ||  '/' == $path{$len-1} ) {
            return "";
        }
        return basename($path);
    }

Could this please be fixed?

Please Log in or Create an account to join the conversation.

  • Posts: 84306
  • Thank you received: 13701
  • MODERATOR
8 months 2 days ago #365239

Hi,

That error was fixed two years ago:
github.com/HikaShop/hikashoppayment-platron/releases/tag/2.6.2
You need to update the plugin if you're using it, on uninstall it if not.

Please Log in or Create an account to join the conversation.

  • Posts: 202
  • Thank you received: 6
3 days 15 hours ago #368523

That fixed it. Thank you. Unfortunately, now I cannot see the new payment method in the check-out at all. I suspect I need to go to authorize.net and get the various keys they need. The nomenclature is different from what I had on the old payment method.
I'll post here if I solve this latest issue.

Please Log in or Create an account to join the conversation.

  • Posts: 84306
  • Thank you received: 13701
  • MODERATOR
3 days 5 hours ago #368527

Hi,

Indeed, you need to provide the Login, Public Key and Transaction Key in the payment method parameters. Otherwise the payment method won't appear on the checkout.

Please Log in or Create an account to join the conversation.

Time to create page: 0.069 seconds
Powered by Kunena Forum