{"id":96174,"date":"2018-12-28T22:55:22","date_gmt":"2018-12-28T22:55:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/simple-paypal-payment\/"},"modified":"2021-11-03T22:51:35","modified_gmt":"2021-11-03T22:51:35","slug":"simple-paypal-payment","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/simple-paypal-payment\/","author":12387480,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.03","stable_tag":"2.03","tested":"5.8.13","requires":"4.7","requires_php":"5.6","requires_plugins":"","header_name":"Simple PayPal Payment","header_author":"Katsushi Kawamori","header_description":"Integrates PayPal checkout into WordPress.","assets_banners_color":"667c71","last_updated":"2021-11-03 22:51:35","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/shop.riverforest-wp.info\/donate\/","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/simple-paypal-payment\/","header_author_uri":"https:\/\/riverforest-wp.info\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":2102,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.00":{"tag":"1.00","author":"Katsushi Kawamori","date":"2018-12-28 23:00:22"},"1.01":{"tag":"1.01","author":"Katsushi Kawamori","date":"2018-12-29 00:35:21"},"1.02":{"tag":"1.02","author":"Katsushi Kawamori","date":"2018-12-30 14:04:31"},"1.03":{"tag":"1.03","author":"Katsushi Kawamori","date":"2018-12-31 02:05:21"},"1.04":{"tag":"1.04","author":"Katsushi Kawamori","date":"2019-01-01 05:13:21"},"1.05":{"tag":"1.05","author":"Katsushi Kawamori","date":"2019-01-02 12:29:45"},"1.06":{"tag":"1.06","author":"Katsushi Kawamori","date":"2019-01-02 15:46:58"},"1.07":{"tag":"1.07","author":"Katsushi Kawamori","date":"2019-01-05 15:31:57"},"1.08":{"tag":"1.08","author":"Katsushi Kawamori","date":"2019-01-06 22:45:30"},"1.09":{"tag":"1.09","author":"Katsushi Kawamori","date":"2019-01-10 15:23:11"},"1.10":{"tag":"1.10","author":"Katsushi Kawamori","date":"2019-01-17 15:54:56"},"1.11":{"tag":"1.11","author":"Katsushi Kawamori","date":"2019-01-22 01:06:58"},"1.12":{"tag":"1.12","author":"Katsushi Kawamori","date":"2019-01-26 15:06:39"},"1.13":{"tag":"1.13","author":"Katsushi Kawamori","date":"2019-03-21 02:17:38"},"1.14":{"tag":"1.14","author":"Katsushi Kawamori","date":"2019-04-29 13:02:49"},"1.15":{"tag":"1.15","author":"Katsushi Kawamori","date":"2019-05-17 14:41:09"},"1.16":{"tag":"1.16","author":"Katsushi Kawamori","date":"2019-05-18 14:19:00"},"1.17":{"tag":"1.17","author":"Katsushi Kawamori","date":"2019-10-22 12:56:36"},"2.00":{"tag":"2.00","author":"Katsushi Kawamori","date":"2020-03-13 23:19:42"},"2.01":{"tag":"2.01","author":"Katsushi Kawamori","date":"2020-08-05 23:48:24"},"2.02":{"tag":"2.02","author":"Katsushi Kawamori","date":"2021-02-11 13:22:29"},"2.03":{"tag":"2.03","author":"Katsushi Kawamori","date":"2021-11-03 22:51:35"}},"upgrade_notice":{"1.00":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2007333,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":2007375,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2007375,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"simple-paypal-payment\/simplepaypalpayment-block":{"name":"simple-paypal-payment\/simplepaypalpayment-block","title":"Simple PayPal Payment"}},"tagged_versions":["1.00","1.01","1.02","1.03","1.04","1.05","1.06","1.07","1.08","1.09","1.10","1.11","1.12","1.13","1.14","1.15","1.16","1.17","2.00","2.01","2.02","2.03"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2004472,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2004069,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2228085,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2228085,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2228085,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":2004472,"resolution":"6","location":"assets","locale":""}},"screenshots":{"1":"PayPal 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,334,80,162],"plugin_category":[43,45],"plugin_contributors":[79586],"plugin_business_model":[],"class_list":["post-96174","plugin","type-plugin","status-closed","hentry","plugin_tags-block","plugin_tags-paypal","plugin_tags-shortcode","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-paypal-payment_667c71.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/simple-paypal-payment\/assets\/screenshot-1.png?rev=2004472","caption":"PayPal Settings"},{"src":"https:\/\/ps.w.org\/simple-paypal-payment\/assets\/screenshot-2.png?rev=2004069","caption":"Short code"},{"src":"https:\/\/ps.w.org\/simple-paypal-payment\/assets\/screenshot-3.png?rev=2228085","caption":"block"},{"src":"https:\/\/ps.w.org\/simple-paypal-payment\/assets\/screenshot-4.png?rev=2228085","caption":"Insert from block"},{"src":"https:\/\/ps.w.org\/simple-paypal-payment\/assets\/screenshot-5.png?rev=2228085","caption":"Page view"},{"src":"https:\/\/ps.w.org\/simple-paypal-payment\/assets\/screenshot-6.png?rev=2004472","caption":"Widget Settings"}],"raw_content":"<!--section=description-->\n<h4>Integrates PayPal checkout into WordPress.<\/h4>\n\n<ul>\n<li>Paste PayPal checkout button to Single Post and Single Page by short code.<\/li>\n<li>Paste PayPal checkout button to Single Post and Single Page by block.<\/li>\n<li>Paste PayPal checkout button to Archive Page and Home Page by widget.<\/li>\n<li>Complete payment without screen transition.<\/li>\n<li>Can customize the PayPal checkout button.<\/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\/acUewo849YU]<\/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('[simplepaypalpayment size=\"medium\" amount=20 currency=\"USD\" email=\"test@test.com\" payname=\"testpay\"]');\n<\/code><\/pre>\n\n<ul>\n<li>shortcode\nAttribute : Description\nlocale : Supported locale codes\nsize : Button styles\ncolor : Button styles\nshape : Button styles\nlabel : Button styles\namount : Price\ncurrency : Currency Codes\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 PayPal Payment\n *\n * @param string $data  data.\n * @param string $payment_data  payment_data.\n * @param string $email  email.\n * @param int    $amount  amount.\n * @param string $currency  currency.\n * @param string $payname  payname.\n *\/\nfunction paypal_charge( $data, $payment_data, $email, $amount, $currency, $payname ) {\n\n    \/* Please write the process to be done when billing succeeds. *\/\n    if ( 'testpay' === $payname ) {\n        update_option( 'testpay_paypal', 'paypal' . $payname . $amount . $currency );\n    }\n\n}\nadd_filter( 'simple_paypal_payment_charge', 'paypal_charge', 10, 6 );\n<\/code><\/pre>\n\n<ul>\n<li>Filter hook\nVariable : Description : From\n$data : Payment information by JSON : Value of PayPal\n$payment_data : Payment information by JSON : Value of PayPal\n$email : Email : Value of Simple PayPal Payment\n$amount : Price : Value of Simple PayPal Payment\n$currency : Currency Codes : Value of Simple PayPal Payment\n$payname : Unique name for this payment : Value of Simple PayPal Payment<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>simple-paypal-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>2.03<\/h4>\n\n<p>Minor change.<\/p>\n\n<h4>2.02<\/h4>\n\n<p>Rebuilt blocks.\nFixed admin screen.\nFixed uninstall.<\/p>\n\n<h4>2.01<\/h4>\n\n<p>Fixed sample code.\nAdded a \"payname\" to the block.<\/p>\n\n<h4>2.00<\/h4>\n\n<p>The block now supports ESNext.<\/p>\n\n<h4>1.17<\/h4>\n\n<p>Fixed problem shortcode.<\/p>\n\n<h4>1.16<\/h4>\n\n<p>Fixed a payment issue in the admin screen.<\/p>\n\n<h4>1.15<\/h4>\n\n<p>Conformed to the WordPress coding standard.<\/p>\n\n<h4>1.14<\/h4>\n\n<p>Fixed script loading error on archive page.<\/p>\n\n<h4>1.13<\/h4>\n\n<p>Minor change.<\/p>\n\n<h4>1.12<\/h4>\n\n<p>Fixed of filter sample code.\nFixed  problem of widget.<\/p>\n\n<h4>1.11<\/h4>\n\n<p>Fixed  problem of widget.<\/p>\n\n<h4>1.10<\/h4>\n\n<p>Add shortcode attribute 'payname'.<\/p>\n\n<h4>1.09<\/h4>\n\n<p>Fixed loading problem of Javascript.<\/p>\n\n<h4>1.08<\/h4>\n\n<p>Change translate.<\/p>\n\n<h4>1.07<\/h4>\n\n<p>Prepared a filter hook for processing immediately after billing.\nAdd shortcode attribute 'remove2'.<\/p>\n\n<h4>1.06<\/h4>\n\n<p>Fixed  problem of option table initialization.<\/p>\n\n<h4>1.05<\/h4>\n\n<p>Can remove html elements to after payment.<\/p>\n\n<h4>1.04<\/h4>\n\n<p>Add widget.<\/p>\n\n<h4>1.03<\/h4>\n\n<p>Can change default value by admin settings menu.<\/p>\n\n<h4>1.02<\/h4>\n\n<p>Add block default value.<\/p>\n\n<h4>1.01<\/h4>\n\n<p>Fixed problem of view for archive page.<\/p>\n\n<h4>1.00<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Integrates PayPal checkout into WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/96174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=96174"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/katsushi-kawamori"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=96174"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=96174"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=96174"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=96174"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=96174"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=96174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}