This plugin provides integration of Stripe the processing and payment service to Phoca Cart - e-commerce extension for Joomla. Using Stripe your business can accept all major debit and credit cards from customers in every country in 135+ currencies. More details can be found at product page.
System Requirements:
SSL certificate is highly recommended to use to ensure card details of your customers are safe.
Sign in to Stripe dashboard and proceed to Developers > API keys.
You need API keys for live and test environment. These keys should be added to Phoca cart payment method settings.
Now it is time to set up Webhooks. Proceed to Stripe Dashboarc > Developers > Webhooks, then click on Add Endpoint button.
There the following params:
The Webhook has been created. Now click on it and you will get its settings:
Find Click to reveal button and copy the Webhook Secret for further usage in Phoca Cart payment method.
Stripe for Phoca Cart can be installed as a typical Joomla extension. Make sure you have downloaded the latest version of the plugin. Proceed to Administrator panel > Extensions > Manage > Install and select the package downloaded from NorrNext site.Then go to plugins and enable Stripe for Phoca Cart plugin.
There are several tabs with settings. Let's look on each tab.
The following tabs are standard to each payment method:
The following tab is related to the selected Stripe method, so you must fill it correctly.
https://mydomain.com/index.php?option=com_phocacart&view=response&task=response.paymentwebhook&type=stripe&tmpl=component&pid=5
Where is mydomain.com - set up your domain and make sure you have a valid SSL certificate. You need to copy this URL and paste it in Stripe dashboard > Webhooks.
Note: API keys are required fields to save the configuration. Fill them if even you are going to use sandbox mode.
The plugin has the only option:
This feature allow to get an update of the plugin via back-end in few clicks. Set your download key to enable the update using Joomla! Update System. You can find the key in your Stripe for Phoca Cart subscription on the NorrNext website.
If you set the key for the first time or have changed it, please click on the Update Key button to save it for Joomla! Update System.
Read official tutorial: How to enable one-click update for NorrNext commercial extensions
Make sure the plugin is enabled!
Yes, 3D Secure is implemented automatically if it is provided by the bank which has issued the debit/credit card.
You missed Webhooks settings. Please, get Webhook URL and add it to Stripe settings.
Enable Sandbox mode, add test API keys and use Test card numbers and tokens or Testing 3D Secure payments.
Stripe plugin accepting payments via cards. There are no additional payment methods at the moment. We can implement it as a custom task.
You can change colors and design of the plugin using template overrides in Joomla.
The path to the files: /plugins/pcp/stripe/tmpl/
Here are the folloing files: elements_style.php and stripe.php which can be customized via the template override.
How to Create Template Overrides for Joomla Plugins
Add custom CSS to your Joomla template:
.stripe-payment-form .card-container {background-color:#222} .stripe-payment-form fieldset {background:#555} .stripe-payment-form fieldset legend {color:#fff}
Open elements_style.php and change color: "#32325D",
to color: "#999",
You will get the following result:
We do the best to update the plugin to compy to the latest version of Stripe API which supposedly updates a few times per year. We are operating with Stripe API via calls in the code, however, Stripe will continue to send webhook messages in the format based on the API version set in your Stripe Dashboard.
Every time you are going to update Stripe plugin for Phoca Cart, please sign in to your Stripe Dashboard and check out if there is an upgrade of the API available.
Note: Make sure your Stripe API version is identical to API used in the payment plugin!
If you see there is a new Stripe API version available in the dashoboard and our plugin uses the previous version - do not upgrade Stripe API and await the new version of our plugin which will include an update of Stripe API.