The Billing Platform for Hosting Providers Reseller Hosting Site

I am selling this license as i literally just created because just found out that im having a kid, I will no longer have time to even think about starting this business unfortunately.

https://www.blesta.com/pricing/

I purchased the Owned Unbranded for $ 300 I am selling this for $ 250 support & updates are available till next may 2020 but part is Blesta has an awesome Discord channel with free support anyway for life which is really nice. I will include the already…

The Billing Platform for Hosting Providers Reseller Hosting Site

Customer billing and shipping address not renderring in order view

I am facing issue while order view in Magento 2.3.1 after upgrade from Magento 2.1.8. Before upgrade Magento was migrated from 1 to 2. Below is issue screenshot:

enter image description here

It is only specific to order view but it is also happening in invoice view/customer view.

I have followed this link: https://github.com/magento/magento2/issues/5873 but it didn’t helped.

Billing and recurrent payment db structure

I am designing my first payment service and here is my db structure.

Each user can have many businesses, each business can have many products. Some are recurring, some are paid once. Each product is tied to payment method. Some products are always free, and some are paid every X days.

CREATE TABLE `payment_method` (   `payment_method_id` int(11) NOT NULL auto_increment,   `payment_method_name` VARCHAR(20) DEFAULT NULL,   `payment_method_status` ENUM('active','disabled') CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT 'active',   PRIMARY KEY  (`payment_method_id`) ) ENGINE=InnoDB AUTO_INCREMENT=1;  CREATE TABLE IF NOT EXISTS `product_type` (   `product_type_code` varchar(50) NOT NULL,   `product_type` varchar(150) NOT NULL,   `product_type_name` varchar(150) NOT NULL,   PRIMARY KEY (`product_type_code`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;   CREATE TABLE IF NOT EXISTS `product` (   `product_id` int(11) NOT NULL AUTO_INCREMENT,   `product_price` decimal(12,2) DEFAULT NULL,   `product_duration` int(11) DEFAULT NULL,   `product_currency` varchar(50) NOT NULL,   `recurring` enum('yes','no') CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT 'yes',   `daily_limit` int(11) DEFAULT NULL,   `monthly_limit` int(11) DEFAULT NULL,   `lifetime_limit` int(11) DEFAULT NULL,   `product_type_code` varchar(50) NOT NULL,   `product_description` varchar(150) DEFAULT NULL,   PRIMARY KEY (`product_id`),   FOREIGN KEY (product_type_code) REFERENCES product_type(product_type_code) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;  CREATE TABLE IF NOT EXISTS `product_detail` (   `product_detail_id` int(11) NOT NULL AUTO_INCREMENT,   `product_id` int(11) NOT NULL,   `key` varchar(150) DEFAULT NULL,   `value` varchar(150) DEFAULT NULL,   PRIMARY KEY (`product_detail_id`),   KEY `product_id` (`product_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;   CREATE TABLE IF NOT EXISTS `business_product` (   `business_product_id` int(11) NOT NULL,   `product_id` int(11) DEFAULT NULL,   `business_id` int(11) DEFAULT NULL,   `added_by_user_id` int(11) NOT NULL,   `product_price` decimal(12,2) DEFAULT NULL,   `product_currency` varchar(5) NOT NULL,   `product_type` varchar(150) NOT NULL,   `business_product_status` enum('paid','canceled') CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,   `start_date` date NOT NULL,   `end_date` date DEFAULT NULL,   `last_update_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,   PRIMARY KEY (`business_product_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;     CREATE TABLE `user_authorized` (   `user_authorized_id` int(11) NOT NULL auto_increment,   `payment_method_id` int(11),   `authorized`  varchar(150),   `autopay` enum('yes','no') CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT 'yes',   PRIMARY KEY  (`user_authorized_id`) ) ENGINE=InnoDB AUTO_INCREMENT=1;  CREATE TABLE `billing` (   `billing_id` int(11) NOT NULL auto_increment,   `external_id` VARCHAR(100) DEFAULT NULL,   `invoice_date` datetime,   `bill_date` datetime,   `start_date` date,   `end_date` date,   `payment_method_id` int(11) default NULL,   `user_id` int(11) default NULL,   `authorized` VARCHAR(200) DEFAULT NULL,   `fee` decimal(12,2) default NULL,   `notes` varchar(500) default NULL,   `billing_status` ENUM('new','paid','returned','canceled', 'pending', 'overdue')  CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT 'new',   PRIMARY KEY  (`billing_id`) ) ENGINE=InnoDB AUTO_INCREMENT=1 ;   CREATE TABLE `billing_detail` (   `billing_detail_id` int(11) NOT NULL auto_increment,   `billing_id` int(11) NOT NULL,   `product_id` int(11),   `business_id` int(11),   `product_price` decimal(12,2),   PRIMARY KEY  (`billing_detail_id`) ) ENGINE=InnoDB AUTO_INCREMENT=1 ;  ```   What do you think am I missing something? 

Order failed after chossing different billing address. Magento 2

• Cannot check “bogus” info yet, because you cannot place an order w/ a different billing address • Looks like Magento is try to pull in First and Last Name for billing address (we never had the option to enter a different name). Is this a Magento error If Magento, can we disable it? If not, can we have the name = the delivery name always … and just not display it?. Error message: Please check the billing address information firstname is a required field. lastname is a required field.

I appreciated your help.

Drupal Commerce 2 Receipt Email only shows Billing and Shipping data when an order is placed as an admin user

I have triple checked all the User Permissions on admin/people/permissions. All checked permissions for under Commerce are checked with the exception of those that have the “Warning: Give to trusted roles only; this permission has security implications.” warning.

I replaced the custom commerce-order-receipt.html.twig with the original one used in Commerce2 with no luck as well.

Any further debugging tips and suggestions are helpful as I am newer to the Drupal world. Thank you!

User RBAC and billing with microservices | Node.js

I am working on a SaaS product that utilizes a microservice architecture and I am starting now to think more about my user system and payments. I plan to have 4 levels of plans (free and 3 paid).

My question comes in how do I design a user and payment system that can handle the different plan levels but also different account permissions that can be set by my customers. By that I mean there will be a company admin who then creates accounts for their employees who have roles assigned to them.

Was that since I already have an API gateway that I would do some processing there since as part of the API gateway I get the user’s information and I send it along with the request to my backend services.

I have not seen much online for people talking about how to handle this kind of thing. I can only find stuff about passport.js (I’m using Node.js) and mostly just basic setups with no billing nor anything like that.

I was thinking that a separate billing system would make the most sense but then I have to tie the multiple databases together or have another service that runs with access to my user DB.

I am a bit lost on how to do this as I have never designed a system like this before and since it is a personal project, not a work project one, I have no one that I can ask so hoping this is the right stack exchange place.

My payment processor is going to be Stripe since I have worked with them before and quite like their docs and ease of use. So no worries about trying to create the wheel again.

Why ask for billing address first?

I’m working on a new checkout flow. I’m wondering why most e-merchants ask for the billing address first instead of the shipping address.

People are more likely to understand shipping address than billing address. So why not put shipping the address first and then a tickbox to say that the billing address is the same?

Type of commerce: Apparel (Business to Consumer).

How to save phone number in billing address for customer in magento 2

I wish to save phone number for billing address while customer registering their account.

  1. I have added the custom input field for “phone number” in create account form.
  2. This number should be saved as a billing(address) phone number.
  3. Please provide me a solution to save the phone number in the billing address section.