{"id":96381,"date":"2019-01-04T22:15:56","date_gmt":"2019-01-04T22:15:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/simple-stripe-payment\/"},"modified":"2021-03-07T00:43:38","modified_gmt":"2021-03-07T00:43:38","slug":"simple-stripe-payment","status":"closed","type":"plugin","link":"https:\/\/fr.wordpress.org\/plugins\/simple-stripe-payment\/","author":12387480,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.19","stable_tag":"1.19","tested":"5.7.15","requires":"4.6","requires_php":"5.6","requires_plugins":"","header_name":"Simple Stripe Payment","header_author":"Katsushi Kawamori","header_description":"Integrates Stripe checkout into WordPress.","assets_banners_color":"667c71","last_updated":"2021-03-07 00:43:38","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/shop.riverforest-wp.info\/donate\/","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/simple-stripe-payment\/","header_author_uri":"https:\/\/riverforest-wp.info\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1600,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.10":{"tag":"1.10","author":"Katsushi Kawamori","date":"2019-04-09 12:53:19"},"1.11":{"tag":"1.11","author":"Katsushi Kawamori","date":"2019-04-29 13:19:59"},"1.12":{"tag":"1.12","author":"Katsushi Kawamori","date":"2019-05-18 01:12:13"},"1.13":{"tag":"1.13","author":"Katsushi Kawamori","date":"2019-05-18 14:14:29"},"1.14":{"tag":"1.14","author":"Katsushi Kawamori","date":"2019-10-22 12:58:13"},"1.15":{"tag":"1.15","author":"Katsushi Kawamori","date":"2020-03-13 23:23:50"},"1.16":{"tag":"1.16","author":"Katsushi Kawamori","date":"2020-08-05 23:36:48"},"1.17":{"tag":"1.17","author":"Katsushi Kawamori","date":"2020-08-05 23:44:52"},"1.18":{"tag":"1.18","author":"Katsushi Kawamori","date":"2021-02-12 00:21:14"},"1.19":{"tag":"1.19","author":"Katsushi Kawamori","date":"2021-03-07 00:43:38"}},"upgrade_notice":{"1.00":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2007330,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":2007688,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2007688,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"simple-stripe-payment\/simplestripepayment-block":{"name":"simple-stripe-payment\/simplestripepayment-block","title":"Simple Stripe Payment"}},"tagged_versions":["1.10","1.11","1.12","1.13","1.14","1.15","1.16","1.17","1.18","1.19"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2006553,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2006553,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2226678,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2226678,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2226678,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":2006553,"resolution":"6","location":"assets","locale":""}},"screenshots":{"1":"Stripe Settings","2":"Short code","3":"block","4":"Insert from block","5":"Page view","6":"Widget Settings"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220,80,5349,162],"plugin_category":[43,45],"plugin_contributors":[79586],"plugin_business_model":[],"class_list":["post-96381","plugin","type-plugin","status-closed","hentry","plugin_tags-block","plugin_tags-shortcode","plugin_tags-stripe","plugin_tags-widget","plugin_category-customization","plugin_category-ecommerce","plugin_contributors-katsushi-kawamori","plugin_committers-katsushi-kawamori"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/simple-stripe-payment_667c71.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/simple-stripe-payment\/assets\/screenshot-1.png?rev=2006553","caption":"Stripe Settings"},{"src":"https:\/\/ps.w.org\/simple-stripe-payment\/assets\/screenshot-2.png?rev=2006553","caption":"Short code"},{"src":"https:\/\/ps.w.org\/simple-stripe-payment\/assets\/screenshot-3.png?rev=2226678","caption":"block"},{"src":"https:\/\/ps.w.org\/simple-stripe-payment\/assets\/screenshot-4.png?rev=2226678","caption":"Insert from block"},{"src":"https:\/\/ps.w.org\/simple-stripe-payment\/assets\/screenshot-5.png?rev=2226678","caption":"Page view"},{"src":"https:\/\/ps.w.org\/simple-stripe-payment\/assets\/screenshot-6.png?rev=2006553","caption":"Widget Settings"}],"raw_content":"<!--section=description-->\n<h4>Integrates Stripe checkout into WordPress.<\/h4>\n\n<ul>\n<li>Paste Stripe checkout button to Single Post and Single Page by short code.<\/li>\n<li>Paste Stripe checkout button to Single Post and Single Page by block.<\/li>\n<li>Paste Stripe checkout button to Archive Page and Home Page by widget.<\/li>\n<li>Complete payment without screen transition.<\/li>\n<li>Can specify the text or html before payment and after payment.<\/li>\n<li>Can remove html elements to after payment.<\/li>\n<li>Prepared a filter hook for processing immediately after billing.<\/li>\n<\/ul>\n\n<h4>Tutorial Video<\/h4>\n\n<p>[youtube https:\/\/youtu.be\/aUvNJNet7jU]<\/p>\n\n<h4>Sample of how to use the filter hook<\/h4>\n\n<ul>\n<li>Show button<\/li>\n<\/ul>\n\n<pre><code>echo do_shortcode('[simplestripepayment amount=100 currency=\"USD\" name=\"Test\" description=\"Test Charge\" email=\"test@test.com\" payname=\"testpay\"]';\n<\/code><\/pre>\n\n<ul>\n<li>shortcode\nAttribute : Description\namount : Price\nname : The name of your company or website\ndescription :A description of the product or service being purchased\ncurrency : Currency Codes\nlabel : The text to be shown on the blue button\nbefore : Display before payment\nafter : Display after payment\nremove : HTML elements to remove after payment\nremove2 : HTML elements to remove after payment\nemail : Email\npayname : Unique name for this payment<\/li>\n<li>Filter hook &amp; Function<\/li>\n<\/ul>\n\n<pre><code>\/** ==================================================\n * Filter of Simple Stripe Payment\n *\n * @param string $token  token.\n * @param string $email  email.\n * @param int    $amount  amount.\n * @param string $currency  currency.\n * @param string $name  name.\n * @param string $description  description.\n * @param string $payname  payname.\n *\/\nfunction stripe_charge( $token, $email, $amount, $currency, $name, $description, $payname ) {\n\n    \/* Please write the process to be done when billing succeeds. *\/\n    if ( 'testpay' === $payname ) {\n        update_option( 'testpay_stripe', 'stripe' . $payname . $amount . $currency );\n    }\n\n}\nadd_filter( 'simple_stripe_payment_charge', 'stripe_charge', 10, 7 );\n<\/code><\/pre>\n\n<ul>\n<li>Filter hook\nVariable : Description : From\n$token : Payment information by JSON : Value of Stripe\n$email : Email : Value of Simple Stripe Payment\n$amount : Price : Value of Simple Stripe Payment\n$currency : Currency Codes : Value of Simple Stripe Payment\n$name : The name of your company or website : Value of Simple Stripe Payment\n$description : A description of the product or service being purchased : Value of Simple Stripe Payment\n$payname : Unique name for this payment : Value of Simple Stripe Payment<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>simple-stripe-payment<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>none<\/p>\n\n<!--section=changelog-->\n<h4>1.19<\/h4>\n\n<p>Minor change.<\/p>\n\n<h4>1.18<\/h4>\n\n<p>Update stripe php library.<\/p>\n\n<h4>1.17<\/h4>\n\n<p>Update stripe php library.<\/p>\n\n<h4>1.16<\/h4>\n\n<p>Fixed sample code.\nAdded a \"payname\" to the block.\nUpdate stripe php library.<\/p>\n\n<h4>1.15<\/h4>\n\n<p>Update stripe php library.\nThe block now supports ESNext.<\/p>\n\n<h4>1.14<\/h4>\n\n<p>Fixed problem shortcode.<\/p>\n\n<h4>1.13<\/h4>\n\n<p>Fixed a payment issue in the admin screen.<\/p>\n\n<h4>1.12<\/h4>\n\n<p>Conformed to the WordPress coding standard.<\/p>\n\n<h4>1.11<\/h4>\n\n<p>Update stripe php library.<\/p>\n\n<h4>1.10<\/h4>\n\n<p>Fixed script loading error on archive page.\nUpdate stripe php library.<\/p>\n\n<h4>1.09<\/h4>\n\n<p>Fixed problem of charge.<\/p>\n\n<h4>1.08<\/h4>\n\n<p>Fixed problem of screen transition.\nUpdate stripe php library.<\/p>\n\n<h4>1.07<\/h4>\n\n<p>Fixed of filter sample code.\nFixed  problem of widget.\nUpdate stripe php library.<\/p>\n\n<h4>1.06<\/h4>\n\n<p>Fixed  problem of widget.<\/p>\n\n<h4>1.05<\/h4>\n\n<p>Add shortcode attribute 'payname'.<\/p>\n\n<h4>1.04<\/h4>\n\n<p>Fixed loading problem of Javascript.<\/p>\n\n<h4>1.03<\/h4>\n\n<p>Receive payment information by json.<\/p>\n\n<h4>1.02<\/h4>\n\n<p>Add shortcode attribute 'remove2'.<\/p>\n\n<h4>1.01<\/h4>\n\n<p>Add stripe button css.<\/p>\n\n<h4>1.00<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Integrates Stripe checkout into WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/96381","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=96381"}],"author":[{"embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/katsushi-kawamori"}],"wp:attachment":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=96381"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=96381"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=96381"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=96381"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=96381"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=96381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}