Payment method

Phoca Cart - complex e-commerce extension
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 171
Joined: 15 Sep 2023, 10:51

Re: Payment method

Post by landed »

Hi
I am still very much interested in fixing this. What is happening is that I select stripe as the payment option then I can check the terms and conditions and then Confirm Order. The order goes through with a success message without getting a form for the card details or redirection. It is set to test mode in Stripe using the sandbox credentials.

My concern is that I would like an inline form for the credit card form. And stripe do provide a JS option so this happens on their server for credit card details.

Is this possible with the way Phoca Cart works? Or do we need to redirect always as paypal does. Thank You.
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 171
Joined: 15 Sep 2023, 10:51

Re: Payment method

Post by landed »

The plugin isn't running though it is looking ok in Joomla backend and phoca cart backend recognises it in the settings.

For some reason no methods are working:

class plgPcpStripe_standard extends CMSPlugin
{
protected $name = 'stripe_standard';

public function __construct(&$subject, $config)
{
parent::__construct($subject, $config);
$this->loadLanguage();
}

public function onAfterInitialise()
{
die("✅ Stripe plugin is loading now!");
}
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49005
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Payment method

Post by Jan »

Hi, I don't think onAfterinitialise is running in Phoca Cart, hard to say, there are specific events for Phoca Cart but never tested onAfterinitialise. :idea:

Jan
If you find Phoca extensions useful, please support the project
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 171
Joined: 15 Sep 2023, 10:51

Re: Payment method

Post by landed »

Can you ask the developers (I thought you were the dev actually) what hooks we can use please.
Post Reply