芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/yeahea.digitalhubbd.com/database/seeders/PaymentMethodsSeeder.php
insert([ 'name' => 'PayPal Express Checkout', 'code' => 'paypal', 'type' => PaymentMethod::TYPE_PAYPAL, 'split_money' => false, 'company_name' => 'PayPal Inc.', 'website' => 'https://www.paypal.com/', 'help_doc_link' => 'https://www.paypal.com/us/webapps/mpp/express-checkout', 'description' => 'Add PayPal as a payment method to allow customers to checkout with PayPal. Express Checkout offers the ease of convenience and security of PayPal, can turn more shoppers into buyers. You must have a PayPal business account to activate this payment method. - You must have a PayPal business account.
To activate PayPal Express:
- You must have a PayPal business account to accept payments.
- Create an app to receive API credentials for testing and live transactions.
- Go to this link to create your app:
https://developer.paypal.com/webapps/developer/applications/myapps
', 'admin_description' => 'Add PayPal as a payment method to any checkout with Express Checkout. Express Checkout offers the ease of convenience and security of PayPal, can be set up in minutes and can turn more shoppers into buyers.', 'admin_help_doc_link' => 'https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/', 'order' => 1, 'created_at' => $now, 'updated_at' => $now, ]); DB::table('payment_methods')->insert([ 'name' => 'Stripe', 'code' => 'stripe', 'type' => PaymentMethod::TYPE_CREDIT_CARD, 'split_money' => true, 'company_name' => 'Stripe Inc.', 'website' => 'https://stripe.com/', 'help_doc_link' => 'https://stripe.com/docs/checkout/tutorial', 'description' => 'Stripe is one of the best and safe option to charge credit and debit cards around the world. Stripe has a simple fee structure and no hidden costs. No other gateway or merchant account is required.
By using Stripe:
- You have to connect our platform to your Stripe account.
- You agree to Stripe\'s
Terms of Service
.', 'admin_description' => 'Stripe is one of the best and safe option to charge credit and debit cards around the world. Stripe has a product for marketplace like this. To enable Stripe to your vendors, you must have to register your platform with Stripe.
Follow This Simple steps:
- Create an Stripe application using the bellow information.
Check their documentation for help.
- Update the .env file on your server with Stripe API credentials.
Remember
when you register your platform use this information:
- Name: \'' . get_platform_title() . '\'
- Website URL: \'' . route('homepage') . '\'
- Redirect URL: \'' . route('admin.setting.stripe.redirect') . '\'', 'admin_help_doc_link' => 'https://stripe.com/docs/connect/quickstart', 'order' => 2, 'created_at' => $now, 'updated_at' => $now, ]); // DB::table('payment_methods')->insert([ // 'name' => 'CyberSource', // 'code' => 'cybersource', // 'type' => PaymentMethod::TYPE_CREDIT_CARD, // 'split_money' =>false, // 'company_name' => 'CyberSource', // 'website' => 'https://cybersource.com/', // 'help_doc_link' => 'https://www.cybersource.com/', // 'description' => 'CyberSource is an E-commerce credit card payment system management company. Customers process online payments, streamline online fraud management, and simplify payment security.
By using CyberSource:
- You have to have your CyberSource account.
- You agree to CyberSource\'s
Terms of Service
.', // 'admin_description' => 'CyberSource is one of the most popular and Multi-Channel Payment Gateway.', // 'admin_help_doc_link' => 'https://developer.cybersource.com/api/developer-guides/dita-gettingstarted/registration.html', // 'order' => 4, // 'created_at' => $now, // 'updated_at' => $now, // ]); DB::table('payment_methods')->insert([ 'name' => 'Cash On Delivery', 'code' => 'cod', 'type' => PaymentMethod::TYPE_MANUAL, 'split_money' => false, 'company_name' => 'Cash on Delivery', 'description' => 'Cash on delivery (COD), sometimes called collect on delivery, is the sale of goods by mail order where payment is made on delivery rather than in advance.', 'admin_description' => 'Cash on delivery (COD), sometimes called collect on delivery, is the sale of goods by mail order where payment is made on delivery rather than in advance.', 'admin_help_doc_link' => '', 'order' => 5, 'created_at' => $now, 'updated_at' => $now, ]); DB::table('payment_methods')->insert([ 'name' => 'Bank Wire Transfer', 'code' => 'wire', 'type' => PaymentMethod::TYPE_MANUAL, 'split_money' => false, 'company_name' => 'Pay by bank wire transfer', 'description' => 'Pay by bank wire transfer, transfer the invoice amount via wire tranfer to the merchant account and confirm manually. After payment confirmation the goods will be shipped.', 'admin_description' => 'Pay by bank wire transfer, transfer the invoice amount via wire tranfer to the merchant account and confirm manually. After payment confirmation the goods will be shipped.', 'admin_help_doc_link' => '', 'order' => 6, 'created_at' => $now, 'updated_at' => $now, ]); // DB::table('payment_methods')->insert([ // 'name' => 'Pay in Person', // 'code' => 'pip', // 'type' => PaymentMethod::TYPE_MANUAL, // 'split_money' =>false, // 'company_name' => 'Pay in Person', // 'description' => 'Pay in Person (PIP), is the sale of goods by order online and pay when customer pickup the order.', // 'admin_description' => 'Pay in Person (PIP), is the sale of goods by order online and pay when customer pickup the order.', // 'admin_help_doc_link' => '', // 'order' => 7, // 'created_at' => $now, // 'updated_at' => $now, // ]); } }