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.
Payment method
- landed
- Phoca Professional
- Posts: 171
- Joined: 15 Sep 2023, 10:51
Re: Payment method
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!");
}
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("
}
- Jan
- Phoca Hero
- Posts: 49005
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Payment method
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. 
Jan

Jan
If you find Phoca extensions useful, please support the project
- landed
- Phoca Professional
- Posts: 171
- Joined: 15 Sep 2023, 10:51
Re: Payment method
Can you ask the developers (I thought you were the dev actually) what hooks we can use please.