{"id":51662,"date":"2016-10-22T10:37:31","date_gmt":"2016-10-22T10:37:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/direct-stripe\/"},"modified":"2019-10-12T16:37:09","modified_gmt":"2019-10-12T16:37:09","slug":"direct-stripe","status":"closed","type":"plugin","link":"https:\/\/fr.wordpress.org\/plugins\/direct-stripe\/","author":12729126,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.0.1","stable_tag":"3.0.1","tested":"5.2.24","requires":"4.7","requires_php":"","requires_plugins":"","header_name":"Direct Stripe","header_author":"Nicolas Figueira","header_description":"","assets_banners_color":"7787ff","last_updated":"2019-10-12 16:37:09","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/newo.me\/direct-stripe-payment-button-for-wordpress\/","header_plugin_uri":"","header_author_uri":"https:\/\/newo.me","rating":4.8,"author_block_rating":0,"active_installs":300,"downloads":50368,"num_ratings":0,"support_threads":3,"support_threads_resolved":1,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":"4","5":"29"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"1523113","resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":"1523113","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1523113","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"direct-stripe\/direct-stripe-button":{"name":"direct-stripe\/direct-stripe-button","title":"Direct Stripe"}},"tagged_versions":["1.0","1.0.1","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.1.7","1.1.8","1.1.9","1.2.0","1.2.1","1.2.1.1","1.2.1.2","1.2.2","1.2.2.1","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.1.0","2.1.1","2.1.10","2.1.10.1","2.1.10.2","2.1.10.3","2.1.11","2.1.12","2.1.13","2.1.14","2.1.15","2.1.2","2.1.3","2.1.4","2.1.5","2.1.5.1","2.1.6","2.1.7","2.1.7.1","2.1.7.2","2.1.7.3","2.1.8","2.1.9","3.0.0-beta","3.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1891741","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1891741","resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1891741","resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1665625","resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1665626","resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":"1891741","resolution":"6","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[8380,5800,1887,5349,4079],"plugin_category":[45],"plugin_contributors":[125498],"plugin_business_model":[],"class_list":["post-51662","plugin","type-plugin","status-closed","hentry","plugin_tags-credit-cards","plugin_tags-donations","plugin_tags-payments","plugin_tags-stripe","plugin_tags-subscriptions","plugin_category-ecommerce","plugin_contributors-nahuelmahe","plugin_committers-nahuelmahe"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/direct-stripe_7787ff.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/direct-stripe\/assets\/screenshot-1.png?rev=1891741","caption":""},{"src":"https:\/\/ps.w.org\/direct-stripe\/assets\/screenshot-2.png?rev=1891741","caption":""},{"src":"https:\/\/ps.w.org\/direct-stripe\/assets\/screenshot-3.png?rev=1891741","caption":""},{"src":"https:\/\/ps.w.org\/direct-stripe\/assets\/screenshot-4.png?rev=1665625","caption":""},{"src":"https:\/\/ps.w.org\/direct-stripe\/assets\/screenshot-5.png?rev=1665626","caption":""},{"src":"https:\/\/ps.w.org\/direct-stripe\/assets\/screenshot-6.png?rev=1891741","caption":""}],"raw_content":"<!--section=description-->\nSimple Payments, Donations and Subscriptions using Stripe\n\n<h3>Accepts 3D secure cards, ready for SCA regulation<\/h3>\n\n<h3>High conversion Stripe checkout buttons, easily start charging without users leaving your website, Styling, T&amp;C and automated emails options!<\/h3>\n\nGutenberg ready since 2.1.0, simply insert Direct Stripe buttons using a block !!\n\n<p>Features :<\/p>\n\n<ul>\n<li><p>Automatically recognize email address of logged-in users<\/p><\/li>\n<li><p>Customize the button looks, use Stripe styles or your theme's button styles.<\/p><\/li>\n<li><p>GDPR \/ Terms and conditions checkbox option<\/p><\/li>\n<li><p>Setup automated emails sent after a successful and failed transactions<\/p><\/li>\n<li><p>Set up landing\/redirection pages or set the success\/error text for transaction responses<\/p><\/li>\n<li><p>Choose whether to log users and transactions in WordPress admin ( If used, this needs to apply GDPR )<\/p><\/li>\n<li><p>Option to ask for the billing details<\/p><\/li>\n<li><p>Marketers can easily add query data to redirections<\/p><\/li>\n<li><p>Ready for translations<\/p><\/li>\n<\/ul>\n\n<h4>New Settings interface since 2.1.0, it includes button configuration from the settings page<\/h4>\n\n<h3>Global Setup<\/h3>\n\n<p>Log in to your stripe's account or create one at https:\/\/dashboard.stripe.com\/register<\/p>\n\n=&gt; Configure settings in WordPress administration panel at Direct Stripe -&gt; Settings\n\nGeneral settings :\n\n<ul>\n<li>Enter your Stripe API keys ( find them at https:\/\/dashboard.stripe.com\/account\/apikeys )<\/li>\n<li>Option for test mode \/ keys<\/li>\n<li>Set your stripe's account currency<\/li>\n<li>Choose a success and error pages<\/li>\n<li>Choose a logo for your Stripes modal forms<\/li>\n<\/ul>\n\nStyles Settings :\n\n<ul>\n<li>Choose to use custom buton<\/li>\n<li>Set custom button main colors<\/li>\n<li>Set custom button borders radius<\/li>\n<li>Choose to use a T&amp;C checkbox<\/li>\n<li>Set texts and link to T&amp;C pages<\/li>\n<\/ul>\n\nEmails Settings :\n\n<ul>\n<li>Choose to use automated emails for successful payments to admin<\/li>\n<li>Set Email subject and content<\/li>\n<li>Choose to use automated emails for successful payments to Stripe's user<\/li>\n<li>Set Email subject and content<\/li>\n<li>Choose to use automated emails for unsuccessful payments to admin<\/li>\n<li>Set Email subject and content<\/li>\n<li>Choose to use automated emails for unsuccessful payments to Stripe's user<\/li>\n<\/ul>\n\nButtons Settings :\n\n<ul>\n<li>Create buttons from a settings page<\/li>\n<li>Insert buttons in the content area with a simple button<\/li>\n<li>Direct Stripe is Gutenberg ready, a Gutenberg block is available for Gutenberg users<\/li>\n<\/ul>\n\nActions and Filter hooks available for developers <a href=\"https:\/\/newo.me\/direct-stripe-actions-and-filters-hooks\/\">https:\/\/newo.me\/direct-stripe-actions-and-filters-hooks\/<\/a>***\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the \/wp-content\/plugins\/direct-stripe directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Log in to your stripe's account or create one at https:\/\/dashboard.stripe.com\/register<\/li>\n<li>Configure settings and buttons in admin panel<\/li>\n<\/ol>\n\n<p>Minimal steps :<\/p>\n\n<ul>\n<li><p>Copy API keys from the Stripe dashboard under Developers -&gt; API keys<\/p><\/li>\n<li><p>Paste Stripe API keys in your WordPress admin at Direct Stripe -&gt; settings under the Global settings tab ( I recommend copying live and test keys at once, then simply use the test option to use test keys).<\/p><\/li>\n<li><p>Create a button under the Buttons Settings tab ( the button requires at least a type and an amount in order to work =&gt; ( amount if the type is payment, Princing Plan ID if the type is a subscription and nothing if the type is Donation ) )<\/p><\/li>\n<li><p>Go to the page\/post you want to insert a button into and select the Direct Stripe Gutenberg Block, then select the button to display within the block. ( in the case you use the old editor, use the Direct Stripe button on top of the editor to insert the button)<\/p><\/li>\n<\/ul>\n\n<p>You can also insert direct stripe buttons using a shortcode <code>[direct-stripe value=\"ds-154185704588\"]<\/code> (useful for widgets and templates) (  ds-1541857045880 being the unique ID of the button created at Direct Stripe settings under the Buttons Settings tab )<\/p>\n\n<!--section=changelog-->\n<p>=3.0.1=\n* Improved errors returned and Throwable exceptions\n* Improved stability of modal form styles\n* Improved styles settings styles ( color picker )\n* Updated build tools\n* Make default styles for Card element filterable<\/p>\n\n<p>=3.0.0-beta=\n* Switched to Payment Intents API\n* Custom modal form\n* New frontend filter hooks https:\/\/newo.me\/direct-stripe-actions-and-filters-hooks\/<\/p>\n\n<p>=2.1.15=\n* Fix issue saving settings with &amp; symbol\n* Fix accessibility issue with t&amp;c conditions label\n* Added: emils support for update card types of button<\/p>\n\n<p>=2.1.14=\n* Fix decimals on amount displayed within the modal form button for Donation button types.\n* Allows support for multiple donations buttons on same page\n* Support for locale language in Button settings\n* Refactor JS process\n* Stripe API update\n* Updated pot reference for translations\n* Updated french translation<\/p>\n\n<p>=2.1.13=\n* Fix old shortcode T&amp;C condition issue\n* Add option for locale language in button settings\n* Declare $update_button when not updating button<\/p>\n\n<p>=2.1.12=\n* Add filter to disable Gutenberg block (in case of page builder use like cornerstone)\n* Add notice for Display Amount working only for Payment and Donation buttons types.\n* Make the processing animation dependant on the button\n* Update Stripe API<\/p>\n\n<p>More about Actions and filter hooks available at https:\/\/newo.me\/direct-stripe-actions-and-filters-hooks\/<\/p>\n\n<p>=2.1.11=\n* Fix Fix update customer when WP user exists but Stripe ID isn't stored\n* Admin App Emails Intro Notice<\/p>\n\n<p>=2.1.10.3=\n* Fix testing with user logged in that has a stripe ID set that created issues<\/p>\n\n<p>=2.1.10.2=\n* Fix transaction failing issues\n* Tested up to 5.0.0<\/p>\n\n<p>=2.1.10.1=\n*Rewrote the nonce verification for Ajax<\/p>\n\n<p>=2.1.10=\n* Added an Update card button type\n* Added the T&amp;C error bubble text as an option in styles settings panel\n* Added a T&amp;C filter hook 'direct_stripe_tc_conditions'\n* Restored default button type to payment\n* Updated French translation\n* Stripe API Update<\/p>\n\n<p>=2.1.9=\n* Fix Gutenberg block since withApiData was deprecated\n* Added styles to buttons in the Gutenberg editor\n* Stripe API Update\n* Add $button_id to 'direct_stripe_charge_data' filter hook<\/p>\n\n<p>=2.1.8=\n* Reset the loading spinner in the admin app\n* Fix create a wp user when a user is found in Stripe customers\n* Added the Filter Hook ds_filter_params<\/p>\n\n<p>=2.1.7.3=\n* Really fix redirection issue (2.1.7.2 didn't push the fix)<\/p>\n\n<p>=2.1.7.2=\n* Fix Redirection bug\n* Update Stripe API\n* Change $answer-&gt;object logic for errors<\/p>\n\n<p>=2.1.7.1=\n* Fixes issue with capture, display amount and zero decimal settings<\/p>\n\n<p>=2.1.7=\n* Improved admin app Delete button modal and loading animation\n* Fixed Default Card update for customers ( causing bugs on subscription )\n* Handling unknown value argument on frontend to prevent showing a button that is not set<\/p>\n\n<p>=2.1.6=\n* Improved admin app accessibility\n* Improved french translation\n* New filter hooks\n   * 'direct_stripe_charge_data'\n   * 'direct_stripe_subscription_data'\n   * 'direct_stripe_setup_fee_data'<\/p>\n\n<p>More about Actions and filter hooks available at https:\/\/newo.me\/direct-stripe-actions-and-filters-hooks\/<\/p>\n\n<p>=2.1.5.1=\n* Fixed T&amp;C bug<\/p>\n\n<p>=2.1.5=\n* New markup Hooks\n    * direct_stripe_div_before\n    * direct_stripe_button\n    * direct_stripe_div_after\n    * direct_stripe_after_button<\/p>\n\n<pre><code>More about Actions and filter hooks available at https:\/\/newo.me\/direct-stripe-actions-and-filters-hooks\/\n<\/code><\/pre>\n\n<p>=2.1.4=\n* Fixed list of pages in options for redirections pages\n* Added an option to choose not to record data in WordPress database\n* Added alignment in the gutenberg Block\n* Rewriting of the process<\/p>\n\n<p>=2.1.3=\n* Fixed Bug with subscription, when a setup fee was used the error \"product does not exist\" was received<\/p>\n\n<p>=2.1.2=\n* Fixed T&amp;C bug\n* French Translation<\/p>\n\n<p>=2.1.1=\n* Fixed hidden Live API keys in admin-app<\/p>\n\n<p>=2.1.0=\n* Gutenberg Block\n* Vuejs admin panel\n* User friendly Amounts\n* Display amount option for donations\n* API Routes direct-stripe\/v1\/settings and direct-stripe\/v1\/buttons<\/p>\n\n<p>=2.0.8=\n* Added the token to the 5th parameter for the 'direct_stripe_before_success_redirection' filter<\/p>\n\n<p>=2.0.7=\n* Restored original Stripe styles as an option in settings<\/p>\n\n<p>=2.0.6=\n* Added argument zero_decimal to shortcode to use zero decimal amount values in donation<\/p>\n\n<p>=2.0.5=\n* Doesn't register Users Stripe ID for tests transactions, this avoid to create an error if the same testing user create a live transaction and is find in WordPress admin but not in live Stripe account.<\/p>\n\n<p>=2.0.4=\n* Replaced subscription setup fee from charge to invoiceItem\n* Error messages update<\/p>\n\n<p>=2.0.3=\n<strong>Fixed admin email on success for donations and subscriptions bug<\/strong><\/p>\n\n<p>=2.0.2=\n<strong>Fixed redirections bug<\/strong><\/p>\n\n<p>=2.0.1=\n<strong>Fixed live key bug<\/strong><\/p>\n\n<p>=2.0.0=\n<strong>Major code redesign with Ajax handling of transactions<\/strong><\/p>\n\n<ul>\n<li>Option for billing and shipping details now stored in logs<\/li>\n<li>Fixed bug that forced disable custom button on chrome for ios<\/li>\n<li>Fixed T&amp;C only with custom button, now T&amp;C can be asked per button and with or without custom button<\/li>\n<\/ul>\n\n<p>List of actions and filters hooks at <a href=\"https:\/\/newo.me\/direct-stripe-actions-and-filters-hooks\/\">https:\/\/newo.me\/direct-stripe-actions-and-filters-hooks\/<\/a><\/p>\n\n<p>=1.2.2=\n* Filters for emails subject\n    * direct_stripe_success_user_email_subject\n    * direct_stripe_success_admin_email_subject\n    * direct_stripe_error_user_email_subject\n    * direct_stripe_error_admin_email_subject<\/p>\n\n<ul>\n<li><p>Filters for emails content<\/p>\n\n<ul>\n<li>direct_stripe_success_user_email_content<\/li>\n<li>direct_stripe_success_admin_email_content<\/li>\n<li>direct_stripe_error_user_email_content<\/li>\n<li>direct_stripe_error_admin_email_content<\/li>\n<\/ul>\n\n<p>Filters explained at : https:\/\/newo.me\/filter-direct-stripe-emails\/<\/p><\/li>\n<\/ul>\n\n<p>=1.2.1.2=\n* Back to small id for stripe customer object in create payment<\/p>\n\n<p>=1.2.1.1=\n* Corrects error redirection link bug<\/p>\n\n<p>=1.2.1=\n* <strong>Custom_role<\/strong> added as shortcode argument custom_role=\"custom_user_role\"\n* $user_id passed to 'direct_stripe_before_success_redirection' and 'direct_stripe_before_error_redirection' actions<\/p>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li><strong>Button that triggers the options form to insert automatically the shortcode in editor area<\/strong><\/li>\n<li>New shortcode argument button_id<\/li>\n<li>Fixed amount not showing in modal form since version 1.1.9 due to new amount encryption<\/li>\n<li>Automatically recognize email address of logged_in users<\/li>\n<li>New parameters $post_id and $button_id passed to 'direct_stripe_before_success_redirection' and 'direct_stripe_before_error_redirection' actions<\/li>\n<\/ul>\n\n<h4>1.1.9<\/h4>\n\n<ul>\n<li><strong>New Shortcode options<\/strong><\/li>\n<li>success_query : pass query_vars into success redirection url =&gt; success_query=\"query1:var1,query2:var2\"<\/li>\n<li>error_query : pass query_vars into error redirection url =&gt; error_query=\"query1:var1,query2:var2\"<\/li>\n<li>success_url: Success redirection option per button =&gt; success_url=\"http:\/\/wordpress.org\/\"<\/li>\n<li>error_url : Error redirection option per button =&gt; error_url=\"http:\/\/wordpress.org\/\"<\/li>\n<\/ul>\n\n<p><strong>Testing Actions<\/strong> \n* direct_stripe_before_form\n* direct_stripe_after_data_fields\n* direct_stripe_after_script_tag\n* direct_stripe_after_form\n* direct_stripe_before_success_redirection\n* direct_stripe_before_error_redirection<\/p>\n\n<h4>1.1.8<\/h4>\n\n<p>New shortcode options\n- currency : use a currency argument to use per shortcode currencies =&gt; currency=\"EUR\"<\/p>\n\n<p>Update of Stripe API library to 4.4.2<\/p>\n\n<p>!!!! Fixed typo creating classname collision with other stripe plugins... !!!!<\/p>\n\n<p>Testing:\n- success_query : pass query_vars into success redirection url =&gt; success_query=\"my_query=var\" ( to use multiple queries please use %26 to encode &amp; like  =&gt; success_query=\"my_query1=var%26my_query2=var2\")\n- error_query : pass query_vars into error redirection url =&gt; error_query=\"my_query=var\" ( to use multiple queries please use %26 to encode &amp; like  =&gt; error_query=\"my_query1=var%26my_query2=var2\")<\/p>\n\n<h4>1.1.7<\/h4>\n\n<p>New shortcode options \n- setup_fee (for subscriptions), \n- display_amount (=\"false\" to make the modal form button not display the amount) , \n- capture (=\"false\" to register the payment without capturing the charge and charge the payment from stripe's admin panel)\n- description of product setup with description's value of shortcode is now recorded in logs<\/p>\n\n<p>1.1.6 Fixed error email sent to users bug (Thanks Tina!) - Added \"setup_fee\" option for subscriptions (under test)<\/p>\n\n<p>1.1.5 Added allowed html to emails content<\/p>\n\n<p>1.1.4 Bypassed Chrome on iOS bug ( customized button would'nt open modal form ), disabled custom styles for that particular case ( Still need a real fix)<\/p>\n\n<p>1.1.3 IMPORTANT Bug Fix for success \/ error landing\/redirection pages<\/p>\n\n<p>1.1.1 Bug Fix for existing users that don't have a Stripe ID and rewrote validation<\/p>\n\n<p>1.1.0 Add a checkbox option to allow billing details collection before payment<\/p>\n\n<p>1.0.1 Important fixes for subscriptions not using coupons<\/p>\n\n<p>1.0 Released functional button for payment\/donation and subscriptions.\nLogs users and transactions in WordPress admin. \nSet custom styles and automated emails.<\/p>","raw_excerpt":"Simple Payments, Donations and Subscriptions using Stripe","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/51662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=51662"}],"author":[{"embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nahuelmahe"}],"wp:attachment":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=51662"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=51662"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=51662"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=51662"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=51662"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=51662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}