How to collect billing information with Stripe - stripe-payments

I am trying to use Stripe to process payments. The problem is that I need the name, id number and address of every customer to satisfy European regulations. I see screen captures everywhere of invoices generated by Stripe that contain that information below "Bill to", but my invoices only place there the email even if I force to collect the billing address with
'billing_address_collection' => 'required'
How can I force it to collect the name and save the address for the invoice?

You should set the complete address on the Customer, and in particular confirm the country is set to a valid ISO 2-letter code. The country is critical to allow Stripe to format the address using the appropriate style.

Related

Customizing WooCommerce with search-bar

I have a project that requires the following functions:
Customer number to the "Customers" table in WooCommerce. The system should have a function where it automatically generates a customer number when the customer registers to the service.
A search field should be created on the WooCommerce "Checkout" page, where the customer enters the above-mentioned customer number.
When the customer has entered the customer number, the system will fill out the form based on the customer number.
Example:
Antti has a customer number 1.
Antti is ordering product 1.
On the "Checkout" tab, Antti enters customer number 1 in the search field.
The system will fill out the rest of the form based on Antti's customer number, i.e. it will retrieve the customer information and bring it to the form.
How to do that?
I tried following plugins and didnĀ“t get any of these working:
Autocomplete WooCommerce Orders
Profile Extra Fields by BestWebSoft

Retrieve upcoming invoice with disposable prices

I want to preview the upcoming invoice using disposable prices. The user (sales team) can input any price they want for the product, and a table with the upcoming invoice is displayed and refreshed with each change in the input.
Since Prices are resources that we can't delete, is there a way to use temp/disposable prices valid only on the invoices.retrieveUpcoming request?
Edit:
I don't want to create a Price that will not be used at all. Think that the user can input any value at any time, and for each new value, I create a new price just to get the upcoming invoice.
The Retrieve Upcoming Invoice API has the subscription_items parameter which itself contains the price_data parameter allowing you to pass dynamic pricing as needed without having to create the Price upfront. It mirrors what the Create Subscription API offers.

APPaymentEntry - Create Payment by entering values directly

In the Payments Entry, I want to be able to create Payments directly, without having to link to an AP BIll or Credit Adjustment. Would it be possible to enter the payment directly by selecting the Supplier and entering the amounts accordingly? I also need the Print Checks functionality to work once I create the Payment in this approach. It seems that this is not possible out-of-the box but it is possible through a customization?

Default Ship-To address to warehouse location when customer ship-to is not available, for Cash Sales

For custom cash sales form, is there a way or is there a suitescript, that will default the ship-to address with the company warehouse location, when the customer ship to address does not exist or is null?
Depends on the end-use.
Proper way: You'd have to create a custom address on the customer whenever the case applies, then link back this to the SO.
Less proper way: Create an address entry on the customer for each company, when the customer is created, this is easier but more messy.

Netsuite: Paying by check led to a credit card sale. This expected?

I created a sales order in NS and marked the payment method as check. When I went to bill it, it created a credit card sale, even though there was no credit card on the transaction. Is this expected?
There is no transaction in NetSuite with name "credit card sale", it's an standard cash sale transaction. May be this record is renamed in your NetSuite account.
A customer may have a Credit Card saved in their record. When creating a sales order, under the billing tab the preferred Credit Card details will be auto-populated under the "Payment" subtab. When the user enters a Term under "Billing Information" section, the Payment Method field under the Payment subtab will turn blank. If a payment method is selected, then the Term field will turn blank.
That is because when a Term is selected, the system assumes that the sale will be an Invoice sale. If a Payment Method is selected, the system will assumes that this is a Cash Sale (which doesn't necessarily mean that it will be paid by cash but it will be paid upfront). Therefore, only one field must be filled and the other one must be blank.
To have an Invoice generated from the Sales Order, the payment method will have to be unset from the sales order OR change the form to a Sales Order - Invoice type.
For more details please refer SuiteAnswers - 35604 and 33544
No, the payment method should stay as marked. Is it possible you have scripts or a workflow running that could change this?
You can check by looking at the transaction in the UI, then go to the System -> Notes tab and see which and when fields were changed.
It looks like some transaction re-naming has been done in your account and that is just a normal Cash Sale record with a different name.

Resources