Copyright (c) 2017 Arcadier
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Simple step by step on how to configure the custom payment per the Arcadier admin interface
Step 1: Download and extract the arcadier-mor-stripe.zip file, and import the payment_logs.sql file into your database, or you may create your own table but make sure you set the table name in file under the same name
Step 2: Open the config.php file, set your site url and your maketplace site url for the API call followed by seting the database connection information
Step 3: Login to your marketplace admin portal using your admin credentials
Step 4: Go to Payments & Transactions > Configure Payments and click on Add a custom payment method. (You may also edit an existing custom payment method)
Step 5: Fill in the required fields with the relevant information like Payment Name, Logo and description
Step 6: Create the Handshake and Call back file or you may also use the one attached here
Step 7: Input your Handshake / Connection URL (e.g: https://www.yourdomain.com/payments/handshake.php )
Steps 8: Input your Call back / Redirect URL (e.g.: https://www.yourdomain.com/payments/stripe-pay.php )
Step 9: Create one database and table to store the PayKey and return it, the code is already given in the files and all you have to do is the connection on the config.php file as per your database
Step 10: Once completed, the payment method will be available on your marketplace for your sellers to onboard with and your buyers to checkout.