Two strings are not exact in Excel until F2-Enter - excel

I have two strings below.
|-
"For PayPal payments, %{service_name} charges a commission of %{paypal_commission}%. PayPal's fees are not included in this commission, so in addition to %{service_name} commission, you also need to pay PayPal's fees from each payment processed by PayPal. PayPal's fee is between 2% and 5% of the total sales price, depending on your monthly sales volume and the country of residence of the buyer. In general, domestic purchases have lower fees than international ones, and higher monthly sales give you a discount on fees.
You can see the exact fees by logging in to your PayPal account and going %{link_to_paypal}. After each purchase you will get a receipt displaying the exact fee."
|-
"For PayPal payments, %{service_name} charges a commission of %{paypal_commission}%. PayPal's fees are not included in this commission, so in addition to %{service_name} commission, you also need to pay PayPal's fees from each payment processed by PayPal. PayPal's fee is between 2% and 5% of the total sales price, depending on your monthly sales volume and the country of residence of the buyer. In general, domestic purchases have lower fees than international ones, and higher monthly sales give you a discount on fees.
You can see the exact fees by logging in to your PayPal account and going %{link_to_paypal}. After each purchase you will get a receipt displaying the exact fee."
Using Exact() function in Excel shows that the 2 strings are not the same.
However if I click F2-Enter on the first string, then the Exact() function returns TRUE.
If I undo and click F2-Enter on the second string, the Exact() function remains FALSE.
If I F2 and copy the content of the cells to two other cells, the Exact() function evaluates to TRUE.
The first string is generated using VBA pulling data from a .yml text file (ADODB command). The second string is generated using Power Query pulling from a .csv file
I need these strings to be the same without any intervention. First, I need to check why are the content different?

Related

Stripe: Can I create a single "1 month free" promo code for multiple products?

I've been reading though the Stripe documentation but can't figure out if it's possible to have a single promotion code for multiple products, to give a 1-month discount, for products which have both monthly and yearly pricing.
Our product setup is like this:
Basic tier product
Monthly price (upsells to yearly price)
Yearly price
Plus tier product
Monthly price (upsells to yearly price)
Yearly price
I’d like to set up a single promotion code to give to customers, to discount the price of one month, regardless of the product they choose and whether they select monthly or yearly billing.
If I set up a 100% discount coupon then I can apply it to both products, but then if the user chooses annual billing, it discounts the price of the entire year (we only want to discount the price of one month).
If we set up fixed-amount discount coupons, then I'd need to create different promotion codes for each product (we only want to give customers a single code).
Maybe this simply isn't possible with Stripe, but it seems like quite a reasonable/common use case, so wanted check.
Any help much appreciated!
Unfortunately this is not possible with a single Stripe coupon. You would need to create at least two different coupons: one for the basic tier product worth one month, and one for the plus tier worth one month.

How to get the exact value using excel function or VBA in Two Columns

Hy, I am using a spreadsheet template, to calculate the Franchise Fee and Market Fee on each sale. The idea is that I will pay the franchise fee onetime, either in multiple sales or in a single sale and the total franchise fee should be only $3000, not less or greater when the fee will $3000, I will not bound to pay franchise fee on other sales. This scenario is the same for the market fee, but the market fee which I will pay is $20,000, and if I paid this fee in single or multiple sales, after this, I will not bound to pay this fee. I am trying it to solve it using the formula below but it is not giving me the exact amount. It is exceeding the limit.
=IF(SUM($H$9:H9)>3000,0,G10*$H$6) and =IF(SUM($I$9:I9)>20000,0,G10*$J$6)
The Sheet layout is as under.
So I need the total of each fee should be $3000 and $20,000 for each category respectively. The breakup of the fee will be based on the Fee Rate written in Cell H6 and J6 respectively. I tried nested Ifs but could not find the exact amount. Any suggestion,s, please. Thanks
Here is more concise info.
Limit the last payment to Max - Current Sum
ie.
=IF(SUM($H$9:H9)>=3000, 0, MIN(3000 - SUM($H$9:H9), G10*$H$6))

Applying Stripe Discount

Does anyone know if there is another way to implement discount in stripe subscription without using coupon stripe features.
I have a feature in my application that admin users can give different discount amount to a subscribe user every month.
Is there a way I can edit the "Upcoming Invoice" amount of the customer through stripe api.
You can never directly edit the total amount of an invoice -- it is automatically calculated from the sum of the values of each line item, taxes, coupons, etc.
If you don't want to use coupons for whatever reason, another thing you can do to reduce the amount of an invoice is to create invoice items with a negative value.

NetSuite: WorldShop/OZLink overwriting NetSuite Shipping Price

I've got an online store powered by Netsuite where I am charging customers a fixed rate for shipping. So we take an order, and we tell the customer the shipping is $10. (for example)
We use WorldShip to actually do our shipping, and so we then weigh the package, enter a weight, etc.
The problem is, whatever our shipping costs actually are from WorldShip are overwriting the amount we promised the customer, and then when we go to charge the card it can't because we're only authorized.
What's the best approach to fixing this? When charges are created, have custom scripts that run that take the amount from the Sales Order instead of the amount from the fulfillment record? Is there a way to have WorldShip only overwrite the shipping amount on offline orders and not on online orders?
For this scenario, we've created a custom transaction body field on the sales order called "Shipping Charge Exception". This field holds the shipping amount that we've promised to the customer and automatically gets copied to subsequent invoices or cash sales.
Then we have a workflow on the creation of invoices and cash sales (Before Submit) that copies the value of the Shipping Charge Exception field into the Shipping Cost field on the invoice or cash sale.
The item fulfillment will still hold the actual shipping cost but the invoice or cash sale will get the amount promised to the customer.

How to avoid Shopping Pricing Rule when applying Catalog Cart Price Rule?

I have an ongoing 50% Off Catalog Pricing Rule currently active across my store. A few days back I have also distributed coupon codes on a Radio show with 25% Off. Now i have a situation where customers with these codes are applying the code and receiving a double discount. My $10 product is selling for $3.75 (50% + 25%).
I want a functionality where when the customer applies the coupon code, the code does apply but ONLY on the original price of $10. Thereby selling the product at $7.5. It should overlook the catalog rule. So the customer can choose to either go with the Catalog discount or Coupon discount but not both. Is this possible?

Resources