Payment method
- landed
- Phoca Professional
- Posts: 160
- Joined: 15 Sep 2023, 10:51
Payment method
I have been using AI to code very successfully in Joomla and wish to see if I can also do this for payment options? I haven't seen any plugins and can't find where these files would be. Is this something anyone could help me with?
- Nidzo
- Phoca Professional
- Posts: 470
- Joined: 07 Nov 2018, 14:55
Re: Payment method
For payments you need to develop Phoca Cart payment plugin. Here are some free https://www.phoca.cz/download/99-phoca- ... rt-plugins
For payment gateways like Stripe, Molie etc. there are paid third party plugins or you can try to develop your own.
For payment gateways like Stripe, Molie etc. there are paid third party plugins or you can try to develop your own.
- Jan
- Phoca Hero
- Posts: 48939
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Payment method
The basic payment method like PayPal can be found in main package, so you can inspire there.
See:
https://www.phoca.cz/phocacart-extensio ... =1-payment
for list of different payment methods for Phoca Cart.
Jan
See:
https://www.phoca.cz/phocacart-extensio ... =1-payment
for list of different payment methods for Phoca Cart.
Jan
If you find Phoca extensions useful, please support the project
- landed
- Phoca Professional
- Posts: 160
- Joined: 15 Sep 2023, 10:51
Re: Payment method
I couldn't find where it is, can you pass me the folder location please? I'd rather pay you 49 euros per year than a 3rd party for a payment option.
- Benno
- Phoca Hero
- Posts: 9835
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Payment method
Hi,
download Phoca Cart v5.2.0 Package.
Unzip it local on your PC --> Click on 'packages' folder and unzip 'plg_pcp_paypal_standard_v5.1.1.zip'
This is the basic Phoca Cart payment plugin PayPal.
Kind regards,
Benno
download Phoca Cart v5.2.0 Package.
Unzip it local on your PC --> Click on 'packages' folder and unzip 'plg_pcp_paypal_standard_v5.1.1.zip'
This is the basic Phoca Cart payment plugin PayPal.
Kind regards,
Benno
- Benno
- Phoca Hero
- Posts: 9835
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Payment method
You're welcome!
Kind regards,
Benno
Kind regards,
Benno
- landed
- Phoca Professional
- Posts: 160
- Joined: 15 Sep 2023, 10:51
Re: Payment method
Is there anything special which PhocaCart is doing as my plugin function is not firing:onPCPbeforeSetPaymentForm.
I created it very much the same way as the Paypal standard. Is there any gotcha which I need to know about. Thanks.
I created it very much the same way as the Paypal standard. Is there any gotcha which I need to know about. Thanks.
- Jan
- Phoca Hero
- Posts: 48939
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Payment method
Hi, first of all you need to detect if the plugin is active at all. Print some debug info in the event. Check if the plugin is installed, active and assigned to selected payment method, then try to print some debug and exit the code in the plugin to see if it is active.
If not installed try to use n3t debug, which will display you important information when debugging: https://n3t.bitbucket.io/extension/n3t-debug/
Jan
If not installed try to use n3t debug, which will display you important information when debugging: https://n3t.bitbucket.io/extension/n3t-debug/
Jan
If you find Phoca extensions useful, please support the project