Phoca Cart Configuration
Learn how to configure the Phoca Cart to accept payments with Stripe.
Last updated
Learn how to configure the Phoca Cart to accept payments with Stripe.
Last updated
Select Stripe for Phoca Cart in Payment Method
option:
Sandbox Mode - If Sandbox Mode is enabled, no real money are transfered. Sandbox is used to test the payments.
Payment Completed - Select the order status that will be applied based on successfull payment transaction result. By default it is Completed
Payment Failed - Select the order status that will be applied based on failed payment or error during transaction processing. By default it is Cancelled.
Payment Cancelled - Select the order status that will be applied based on cancelled payment or error during transaction processing. By default it is Cancelled.
Payment Unpaid - Select the order status that will be applied based on unpaid payment or error during transaction processing. By default it is Confirmed.
Payment Refunded - Select the order status that will be applied based on refunded payment or error during transaction processing. By default it is Refunded.
Payment Partially Refunded - Select the order status that will be applied based on partially refunded payment or error during transaction processing. By default it is Refunded. Please select Partially Refunded.
Dynamic Payment Methods - allows Stripe to pull your payment method preferences from the Stripe Dashboard to dynamically display the most relevant payment methods to your customers.
Payment Methods - if you need to set the specific payment methods, just add what you need here. Please make sure you've enabled such method(s) in Stripe dashboard. Note that this will disable dynamic payment methods.
Payment Intent Description - allows to set custom payment intent description. Use {ORDER_NR} constant to pass the order number.
Publishable Key - Set your Publishable Key. You can find it in Stripe Dashboard > Developers > API keys.
Secret Key - Set your Secret Key. You can find it in Stripe Dashboard > Developers > API keys.
Webhook Secret - Set your Webhook Signing Secret. You can find it in Stripe Dashboard > Developers > Webhooks.
Webhook URL - a URL to paste in Stripe dashboard.
Stripe plugin Example:
https://mysite.com/index.php?option=com_phocacart&view=response&task=response.paymentwebhook&type=stripe&tmpl=component&pid=5
Stripe Checkout plugin Example:
https://mysite.com/index.php?option=com_phocacart&view=response&task=response.paymentwebhook&type=stripeco&tmpl=component&pid=6
Where is mysite.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.
API keys are required fields to save the configuration. Fill them if even you are going to use sandbox mode.
API Test Keys
Publishable Key - Set your test Publishable Key. You can find it in Stripe Dashboard.
Secret Key - Set your test Secret Key. You can find it in Stripe Dashboard.
Webhook Secret - Set your Webhook Signing Secret. You can find it in Stripe Dashboard > Developers > Webhooks.