Files
opnform-host-nginx/config/pricing.php
formsdev fb79a5bf3e Enable pricing (#151)
* Enable Pro plan - WIP

* no pricing page if have no paid plans

* Set pricing ids in env

* views & submissions FREE for all

* extra param for env

* form password FREE for all

* Custom Code is PRO feature

* Replace codeinput prism with codemirror

* Better form Cleaning message

* Added risky user email spam protection

* fix form cleaning

* Pricing page new UI

* form cleaner

* Polish changes

* Fixed tests

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2023-08-30 09:58:29 +02:00

26 lines
643 B
PHP

<?php
return [
'production' => [
'default' => [
'product_id' => env('STRIPE_PROD_DEFAULT_PRODUCT_ID'),
'pricing' => [
'monthly' => env('STRIPE_PROD_DEFAULT_PRICING_MONTHLY'),
'yearly' => env('STRIPE_PROD_DEFAULT_PRICING_YEARLY'),
]
]
],
'test' => [
'default' => [
'product_id' => env('STRIPE_TEST_DEFAULT_PRODUCT_ID'),
'pricing' => [
'monthly' => env('STRIPE_TEST_DEFAULT_PRICING_MONTHLY'),
'yearly' => env('STRIPE_TEST_DEFAULT_PRICING_YEARLY'),
]
]
]
];