{"id":42011,"date":"2016-02-18T07:03:37","date_gmt":"2016-02-18T07:03:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/rainbowpaypress\/"},"modified":"2017-03-06T06:52:01","modified_gmt":"2017-03-06T06:52:01","slug":"rainbowpaypress","status":"publish","type":"plugin","link":"https:\/\/tr.wordpress.org\/plugins\/rainbowpaypress\/","author":10567873,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.1.0","stable_tag":"3.1.0","tested":"4.7.33","requires":"3.8.1","requires_php":"","requires_plugins":"","header_name":"RainbowPayPress","header_author":"Marat Nepomnyashy","header_description":"","assets_banners_color":"","last_updated":"2017-03-06 06:52:01","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/www.maratbn.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1282,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":"1608415","resolution":"","location":"assets"}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","2.0.0","2.1.0","2.2.0","2.3.0","3.0.0","3.0.1","3.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1392731","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1392731","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1392731","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1392731","resolution":"4","location":"assets"},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1392731","resolution":"5","location":"assets"},"screenshot-6.png":{"filename":"screenshot-6.png","revision":"1392731","resolution":"6","location":"assets"},"screenshot-7.png":{"filename":"screenshot-7.png","revision":"1392731","resolution":"7","location":"assets"},"screenshot-8.png":{"filename":"screenshot-8.png","revision":"1392731","resolution":"8","location":"assets"},"screenshot-9.png":{"filename":"screenshot-9.png","revision":"1392731","resolution":"9","location":"assets"}},"screenshots":{"1":"<p>Examples of shortcode syntax, and display of all the transaction details entry fields that can\nbe made available to the buyer on any page of the website.<\/p>","2":"<p>The official Stripe Checkout Dialog that appears when the buyer clicks to enter the Stripe\ntoken id or Stripe card email fields.<\/p>","3":"<p>RainbowPayPress admin menu.<\/p>","4":"<p>Example of transaction details entry fields filled out by the buyer just before transaction\nsubmission.<\/p>","5":"<p>Transaction submission confirmation message displayed to the buyer after transaction\nsubmission.  The confirmation message includes the timestamp of the submission and the Stripe\ntoken that can be used by the website administrator(s) to charge the buyer's credit card.<\/p>","6":"<p>The 'Pending Transactions' and 'Charged Transactions' tables as they appear to the website\nadministrator(s) on the 'Transactions' admin page, containing the data for example\ntransactions.  New transactions are initially inserted as new rows to the top of the 'Pending'\ntable,  Clicking the 'Charge' button charges the transaction, and moves the associated record\nto the top of the 'Charged' table.  The 'Charged' table contains additional columns 'Customer\nID' and 'Charge ID'.  These data tokens are created by the Stripe business logic when the\ntransaction is charged, and they are rendered as web links, clicking on which takes the user to\nthe associated records on their Stripe account on the Stripe website.<\/p>","7":"<p>The 'Items' table as it appears to the website administrator(s), containing an example list of\nitems that can be specified for sale via RainbowPayPress shortcodes.<\/p>","8":"<p>The RainbowPayPress 'Settings' page as it appears to the website administrator(s) with some\nexample settings.<\/p>","9":"<p>A screenshot of a customer record as it appears on the Stripe website.  This record was created\nwhen the associated transaction was charged by clicking on the 'Charge' button on its row on\nthe 'Pending Transaction' table on the 'Transactions' admin page.  Once a transaction is\ncharged, all records associated with that charge can be tracked on the user's Stripe account.<\/p>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[52272,52273,39674,6556,5349],"plugin_category":[45],"plugin_contributors":[87847],"plugin_business_model":[],"class_list":["post-42011","plugin","type-plugin","status-publish","hentry","plugin_tags-accept-credit-card","plugin_tags-accept-credit-card-payments","plugin_tags-accept-payments","plugin_tags-pay","plugin_tags-stripe","plugin_category-ecommerce","plugin_contributors-maratbn","plugin_committers-maratbn"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/rainbowpaypress\/assets\/icon.svg?rev=1608415","icon":"https:\/\/ps.w.org\/rainbowpaypress\/assets\/icon.svg?rev=1608415","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/rainbowpaypress\/assets\/screenshot-1.png?rev=1392731","caption":"<p>Examples of shortcode syntax, and display of all the transaction details entry fields that can\nbe made available to the buyer on any page of the website.<\/p>"},{"src":"https:\/\/ps.w.org\/rainbowpaypress\/assets\/screenshot-2.png?rev=1392731","caption":"<p>The official Stripe Checkout Dialog that appears when the buyer clicks to enter the Stripe\ntoken id or Stripe card email fields.<\/p>"},{"src":"https:\/\/ps.w.org\/rainbowpaypress\/assets\/screenshot-3.png?rev=1392731","caption":"<p>RainbowPayPress admin menu.<\/p>"},{"src":"https:\/\/ps.w.org\/rainbowpaypress\/assets\/screenshot-4.png?rev=1392731","caption":"<p>Example of transaction details entry fields filled out by the buyer just before transaction\nsubmission.<\/p>"},{"src":"https:\/\/ps.w.org\/rainbowpaypress\/assets\/screenshot-5.png?rev=1392731","caption":"<p>Transaction submission confirmation message displayed to the buyer after transaction\nsubmission.  The confirmation message includes the timestamp of the submission and the Stripe\ntoken that can be used by the website administrator(s) to charge the buyer's credit card.<\/p>"},{"src":"https:\/\/ps.w.org\/rainbowpaypress\/assets\/screenshot-6.png?rev=1392731","caption":"<p>The 'Pending Transactions' and 'Charged Transactions' tables as they appear to the website\nadministrator(s) on the 'Transactions' admin page, containing the data for example\ntransactions.  New transactions are initially inserted as new rows to the top of the 'Pending'\ntable,  Clicking the 'Charge' button charges the transaction, and moves the associated record\nto the top of the 'Charged' table.  The 'Charged' table contains additional columns 'Customer\nID' and 'Charge ID'.  These data tokens are created by the Stripe business logic when the\ntransaction is charged, and they are rendered as web links, clicking on which takes the user to\nthe associated records on their Stripe account on the Stripe website.<\/p>"},{"src":"https:\/\/ps.w.org\/rainbowpaypress\/assets\/screenshot-7.png?rev=1392731","caption":"<p>The 'Items' table as it appears to the website administrator(s), containing an example list of\nitems that can be specified for sale via RainbowPayPress shortcodes.<\/p>"},{"src":"https:\/\/ps.w.org\/rainbowpaypress\/assets\/screenshot-8.png?rev=1392731","caption":"<p>The RainbowPayPress 'Settings' page as it appears to the website administrator(s) with some\nexample settings.<\/p>"},{"src":"https:\/\/ps.w.org\/rainbowpaypress\/assets\/screenshot-9.png?rev=1392731","caption":"<p>A screenshot of a customer record as it appears on the Stripe website.  This record was created\nwhen the associated transaction was charged by clicking on the 'Charge' button on its row on\nthe 'Pending Transaction' table on the 'Transactions' admin page.  Once a transaction is\ncharged, all records associated with that charge can be tracked on the user's Stripe account.<\/p>"}],"raw_content":"<!--section=description-->\n<p>Overview:<\/p>\n\n<p>This plugin facilitates selling of products and services on any public page\n  of a WordPress website, and accepting credit card payments for these\n  products and services via the Stripe payment processor.<\/p>\n\n<p>Because this plugin facilitates credit card payment processing specifically\n  via Stripe, it is able to leverage the main security feature of that service,\n  in that the credit card numbers are sent to the Stripe servers directly via\n  their Checkout API, and never to the server running the website.  Because\n  the credit card numbers are physically absent from the website server, the\n  operators of the website server are not subject to various government\n  regulations that might have otherwise come into effect had their server\n  indeed stored credit card numbers.  And obviously, even if the website\n  server or its storage get compromised by criminals, there simply would not\n  be any credit card numbers for them to steal.<\/p>\n\n<p>The way this plugin is used, is that first, the administrators specify which\n  products and services are being sold, their descriptions, prices, etc. by\n  inserting special shortcodes with that information directly into the pages\n  and posts on which they want to render the user payment buttons for these\n  sales.  When site visitors load these pages, they see the associated payment\n  buttons, clicking on which opens payment entry forms.  Submitting a payment\n  creates a \"pending transaction\", details of which can be automatically\n  emailed to the site operator(s).  For each pending transaction, site\n  administrators can click a special \"Charge\" button on the plugin's admin\n  page to charge that transaction via Stripe.  This creates a record for the\n  customer and the charge on the Stripe servers, from which point the\n  transaction can be administered via the Stripe website as any other Stripe\n  transaction.<\/p>\n\n<p>Stripe test transactions are also supported.  These are transactions in\n  which no actual real credit card gets charged.<\/p>\n\n<p>Currently only USD are supported.<\/p>\n\n<p>Demo at: http:\/\/maratbn.com\/projects\/rainbow-pay-press\/#demo<\/p>\n\n<p>Technical summary and special considerations:<\/p>\n\n<p>Initially, buyer identity, stored partially on the website server, is tied\n  to their credit card number stored entirely on Stripe servers, via a special\n  \"Stripe Token\", which is obtained directly from Stripe, via the plugin's\n  JavaScript logic, running in the buyer's browser.  For this reason,\n  JavaScript needs to be enabled in the buyer's browser.<\/p>\n\n<p>Plugin relies on special server-side PHP library stripe-php to communicate\n  with the Stripe servers to direct them to charge credit cards.  This PHP\n  library in turn relies on PHP cURL support enabled on the server.  The\n  plugin will check if this support is enabled, and will issue admin dashboard\n  notification if it is not, which will also give advise on how to enable it.<\/p>\n\n<p>If website administrators wish to enable automatic email notifications, they\n  would need to insure that a Mail Transfer Agent (MTA) is properly configured\n  on their website server.  Even when the MTA is properly configured, the\n  email notifications are still likely to get filtered by SPAM filters, so\n  adjustment of SPAM filters might also be needed.<\/p>\n\n<p>Requires:<\/p>\n\n<ul>\n<li>PHP version &gt;= 5.4<\/li>\n<li>PHP cURL support enabled (Install module 'php-curl' on Debian \/ Ubuntu)<\/li>\n<li>PHP multibyte string support enabled (Install module 'mb-string' on Debian \/ Ubuntu)<\/li>\n<li>Proper Mail Transfer Agent (MTA) configuration for notification emails.<\/li>\n<\/ul>\n\n<p>Official project URLs:<\/p>\n\n<p>https:\/\/wordpress.org\/plugins\/rainbowpaypress\n  https:\/\/github.com\/maratbn\/RainbowPayPress\n  http:\/\/maratbn.com\/projects\/rainbow-pay-press<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Unzip contents of <code>rainbowpaypress.zip<\/code> into the directory <code>\/wp-content\/plugins\/rainbowpaypress\/<\/code>.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What do I do if I get this error \"Plugin could not be activated because it triggered a fatal error.\" when trying to activate?<\/dt>\n<dd><p>Upgrade to PHP &gt;= 5.4  See\nhttps:\/\/wordpress.org\/support\/topic\/crashes-on-activate<\/p>\n\n<p>Make sure to check your PHP version with\nhttps:\/\/wordpress.org\/plugins\/display-php-version\/<\/p><\/dd>\n<dt>Where can I ask a question about RainbowPayPress?<\/dt>\n<dd><p>Ask your questions at: https:\/\/wordpress.org\/support\/plugin\/rainbowpaypress<\/p><\/dd>\n<dt>Where can I post issues \/ bugs \/ feature requests?<\/dt>\n<dd><p>Post issues \/ bugs \/ feature requests at:\nhttps:\/\/github.com\/maratbn\/RainbowPayPress\/issues<\/p><\/dd>\n<dt>Where can I post pull requests?<\/dt>\n<dd><p>Post pull requests at: https:\/\/github.com\/maratbn\/RainbowPayPress\/pulls<\/p><\/dd>\n<dt>Plugin is missing feature X that I really want, what do I do?<\/dt>\n<dd><p>Post a bug \/ feature request, or implement the feature at your leisure, and\nsubmit a pull request.<\/p><\/dd>\n<dt>Where do I get the publish and secret keys needed for plugin's configuration?<\/dt>\n<dd><p>From your Stripe account.<\/p><\/dd>\n<dt>Why are notification emails not sending?<\/dt>\n<dd><p>Check if you have a mail transfer agent (MTA) installed and properly\nconfigured on your server.  Also check your SPAM folder.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.1.0<\/h4>\n\n<ul>\n<li>Tested up to WordPress version 4.7.2.<\/li>\n<li>Synched with the latest Stripe Checkout JavaScript API.<\/li>\n<li>Limited the loading of plugin's static resources only to pages that use the plugin.<\/li>\n<li>Implemented detection of when a transaction could not be submitted due to an untrusted HTTPS\/SSL\ncertificate.<\/li>\n<li>Implemented notification to the paying user when a payment transaction could not be submitted due\nto a communication error with the server.<\/li>\n<li>Added additional tags to make the plugin easier to find in the WordPress plugins directory.<\/li>\n<li>Added detection of missing PHP multibyte string support, which is necessary to communicate with\nStripe.<\/li>\n<\/ul>\n\n<h4>3.0.1<\/h4>\n\n<ul>\n<li>Fixed bug with allowed items being treated as disallowed.<\/li>\n<\/ul>\n\n<h4>3.0.0<\/h4>\n\n<ul>\n<li>Fixed another date parsing bug that effected Firefox.<\/li>\n<li>Database schema has been modified.  Table 'plugin_rainbow_pay_press_transactions' fields\n'customer_name' and 'customer_phone' are now allowed to be NULL.  If upgrading, user should\nexamine the table schema to verify that these fields are now allowed to be NULL, and if not,\nalter the table manually to allow these fields to be NULL.  User can use the Adminer plugin to\naccomplish this.  Alternatively, user can disable the plugin, backup the data in the table,\ndelete the table, and re-enable the plugin to create the table anew.<\/li>\n<li>Entity name is now specified in the global RainbowPayPress configuration rather than in each\nshortcode.<\/li>\n<li>Fixed bug with resetting configuration settings to empty strings.<\/li>\n<li>Shortcode syntax has changed.  Instead of specifying the cost amount and description of each item\nin the shortcode, now only a pre-configured item handle is specified.  Upon upgrading, users will\nneed to manually create the appropriate item records in the Items configuration, and to update\ntheir shortcodes to include handles to their items.<\/li>\n<li>Shortcode syntax has changed.  The previous shortcode parameter 'fields' has been renamed to\n'override_fields'.  Upon upgrading, users will need to manually modify their shortcodes to comply\nwith this latest parameter name.<\/li>\n<\/ul>\n\n<h4>2.3.0<\/h4>\n\n<ul>\n<li>For better reliability and better server-side performance, loading the plugin's JavaScript logic\non every page.  Client-side performance should not be effected that much due to local caching.\nStripe Checkout JavaScript dialog logic is still loading only when the user opens the payment UI.<\/li>\n<li>Fixed bug with the seller name not getting propagated into the Stripe Checkout dialog.<\/li>\n<li>Fixed bug with date parsing algorithm so that it works on Firefox.<\/li>\n<li>Fixed bug with the shipping address not being displayed in the admin transactions table.<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>Added ability to ask buyer for shipping address.<\/li>\n<li>Split-out the plugin's admin page into 3 separate pages, for Help, Transactions, and Settings.<\/li>\n<li>Included configuration settings page URL in test emails.<\/li>\n<li>Included site URL in test and notification emails.<\/li>\n<li>Added admin UI warning notification for when server-side cURL support is unavailable.<\/li>\n<li>Displaying the transaction creation and charging times in the timezone local to the client.<\/li>\n<li>Added plugin icon.<\/li>\n<li>No longer explicitly requesting to communicate with Stripe via any specific Stripe API version,\nas Stripe servers are expected to automatically communicate via the most appropriate version for\nthe client library bindings version.<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Indicating to the user when Stripe Checkout dialog may be blocked by an ad or a popup blocker,\nby a JavaScript security policy, or by a broken network connection.<\/li>\n<li>To bypass browser popup blockers, loading Stripe checkout when the user opens the payment UI\nrather than when the user clicks to open the Stripe Checkout dialog, as that will keep the\npopup-loading logic in the same user-initiated UI callback.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Having stripe-php 3.4.0 explicitly request the Stripe servers to communicate via Stripe API\nversion 2016-03-07.<\/li>\n<li>For better privacy, loading Stripe checkout.js only when the user clicks to open the Stripe\nCheckout dialog.<\/li>\n<li>Indicating to the user when the Stripe Checkout dialog is initializing and opening.<\/li>\n<li>Renamed MySQL database table 'plugin_stripe_payment_press_transactions' to\n'plugin_rainbow_pay_press_transactions'.  Users of version 1.0.0 upgrading to 2.0.0 who already\nhave data in the old table will have to manually export it from the old table and import it into\nthe new table using Adminer or a similar plugin that can export \/ import database tables.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial public release.<\/li>\n<\/ul>","raw_excerpt":"Easy way to accept credit card payments via Stripe by embedding Stripe checkouts via shortcodes.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/42011","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=42011"}],"author":[{"embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/maratbn"}],"wp:attachment":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=42011"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=42011"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=42011"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=42011"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=42011"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=42011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}