Inconsistent wrapping of quotes in to_yaml - ruby
Introduction
In the below example, you can see that the header and sections 1 and 11 have been put in as plain values into the yaml, but sections 2 and 8 have been wrapped in single quotes. This seems to be happening at the to_yaml stage because in the hash everything looks ok. (I'm not simply loading a yaml and converting it back, this is just for the sake of a simplified example)
What I've tried
I've tried seeing if there are any special characters which would cause confusion, but without any luck. For example, on the word vehicle’s there is a curled apostrophe rather than a straight one ', but that is found in all sections. isn't in section 2 has the straight apostrophe. I tried adding/removing each type of apostrophe systematically in different sections to see if that would make any difference but it hasn't
foo.yml
en:
contract:
terms_and_conditions:
FF:
company: Foo Foo SA
spain_checkin_company: Foo Foo Spain SLR
title: Rental Agreement
header: "This Rental Agreement regulates the rental conditions between Foo Foo, hereinafter referred to as the Rental
Firm, and the client, identified by a valid driving license, hereinafter referred to as the Hirer, and it is ruled by all the
general and special conditions described in this agreement, unless there is any written derogation or alteration."
column_1:
section_1:
title: 1. Vehicle conditions
text: "1) The customer acknowledges having received the Vehicle and rented extras in a clean condition and with all the features working. 2) The customer will return the vehicle in a clean condition, with the same amount of fuel at the pick-up, and with all the vehicle’s features operating in a normal way, on the return date, time and location established in the Rental Agreement. Failure to meet these criteria will result in additional charges to the Hirer according to the rental firm price table. Any loss or damage in rented extras, equipment or spare parts, will be fully charged to the Hirer according to the Rental Firm price table."
section_2:
title: 2. Documents
text: "A valid vehicle driver’s license, ID or Passport and credit card (Visa or Mastercard) are required and must be presented upon the vehicle’s collection and signing of the rental agreement. If the Hirer does not bring the necessary documents, the vehicle cannot be rented and regular no show fee will apply. 2) To hold a valid license to drive in Europe is the responsibility of the Hirer 3) The Hirer should be older than 18 years old. 4) If the Hirer is under 25 years of age, purchasing the Standard Insurance plan is mandatory, and he/she isn't allowed to purchase the Basic or Full Insurance plan when renting a vehicle.
5) The credit card owner must be present at the vehicle´s collection.
"
column_2:
section_8:
title: 8. Accident / Vehicle Damage
text: "In the event of an accident or vehicle damage, the Hirer agrees to the following procedures: 1) Immediately notify the Rental Firm and police authorities of any accident, theft, robbery or other misfortune. 2) Take pictures and obtain names and addresses of all persons involved as well as witnesses, that can document what happened 3) Fill the accident report, together with other vehicles that may be involved. 4) Shall not leave the vehicle without taking all measures regarding its protection and . 5) Shall not take any responsibility or pled guilty, in the event of an accident that might hold the Rental Firm liable 6) Collect the accident report signed by all parties involved and the documents prepared by the police authorities, along with the vehicle keys, if retained (in case of vehicle theft) and send it immediately to the Rental firm. Otherwise, all insurances and coverage’s will expire, and the Hirer is liable for all expenses."
section_11:
title: 11. Liability / Security Deposit and After Rental Payments
text: "1) The security deposit can only be paid by credit card (Visa or Mastercard), and the credit card owner must be present at the pick-up. At the vehicle delivery, the Hirer is required to pay the security deposit according to the chosen Insurance option. This amount will be held in the Hirer’s credit card to ensure the excess payment in the event of robbery or accident and any other vehicle damage during the rental period. 2) If the security deposit amount is not authorized by the bank or by the credit card owner, the contract cannot be executed and the vehicle cannot be delivered. In this case, the regular cancelation policy will apply and the full booking amount will be charged to the Hirer. The security deposit will be returned to the Hirer at the end of the rental period, after an inspection by a Rental Firm member staff, who shall state the vehicle is in similar conditions compared to when it was collected. 3) Vehicle damage and equipment/extras damage costs will be charged according to the Rental Firm price table. The Hirer will also be liable for the days not rented during the vehicle reasonable repair time, according to the damages at issue. 4) In case of an accident where the Hirer does not consider himself responsible, the Rental Firm will hold the full amount of the security deposit until the insurance company states the responsibility. 5) If the damage repair costs cannot be determined immediately, the Rental Firm will hold the full amount of the security deposit. A portion of the excess can be refunded in case the final damage repair costs are lower than the amount paid. 6) The Hirer agrees that the Rental Firm is authorized to charge the credit card on file for any further amounts that may arise such as wild camping, parking tickets, fines, traffic offence penalties, tolls, damages to the van (interior or exterior) and overdue amounts. Rental Firm is entitled to verify any of the damages to the van for 30 days after the last day of the rental agreement. In the event of a fine, the Rental Firm will always attempt to forward the fine to the Hirer. On these cases, a 25€ administrative fee will be charged by the Rental Firm. In the event that it is not possible to forward the fine to the Hirer, the Rental Firm will process the fine and charge to the Hirer the total cost of the fine plus VAT and an added administrative fee of 50€. 7) Hirer must provide the Rental Firm with an alternative credit card that can be used to meet Hirer’s obligations under the Rental Firm Terms and Conditions, in case of insufficient funds, declined transactions for any reason, and cancelled or suspended credit card. 8) All unpaid invoices will be added interest, which is the highest legal rate plus a flat fee, corresponding to 20% of the unpaid amount and any compensation for occurred damages / lost profits due by law. In the event of a legal dispute somehow related with this contract, the parties agree that the jurisdiction of the pick-up location will be applied."
hash in Ruby
foo = YAML.load(File.read("#{#PATH}foo.yml"))
=> {"en"=>
{"contract"=>
{"terms_and_conditions"=>
{"FF"=>
{"company"=>"Foo Foo SA",
"spain_checkin_company"=>"Foo Foo Spain SLR",
"title"=>"Rental Agreement",
"header"=>
"This Rental Agreement regulates the rental conditions between Foo Foo, hereinafter referred to as the Rental Firm, and the client, identified by a valid driving license, hereinafter referred to as the Hirer, and it is ruled by all the general and special conditions described in this agreement, unless there is any written derogation or alteration.",
"column_1"=>
{"section_1"=>
{"title"=>"1. Vehicle conditions",
"text"=>
"1) The customer acknowledges having received the Vehicle and rented extras in a clean condition and with all the features working. 2) The customer will return the vehicle in a clean condition, with the same amount of fuel at the pick-up, and with all the vehicle’s features operating in a normal way, on the return date, time and location established in the Rental Agreement. Failure to meet these criteria will result in additional charges to the Hirer according to the rental firm price table. Any loss or damage in rented extras, equipment or spare parts, will be fully charged to the Hirer according to the Rental Firm price table."},
"section_2"=>
{"title"=>"2. Documents",
"text"=>
"A valid vehicle driver’s license, ID or Passport and credit card (Visa or Mastercard) are required and must be presented upon the vehicle’s collection and signing of the rental agreement. If the Hirer does not bring the necessary documents, the vehicle cannot be rented and regular no show fee will apply. 2) To hold a valid license to drive in Europe is the responsibility of the Hirer 3) The Hirer should be older than 18 years old. 4) If the Hirer is under 25 years of age, purchasing the Standard Insurance plan is mandatory, and he/she isn't allowed to purchase the Basic or Full Insurance plan when renting a vehicle. 5) The credit card owner must be present at the vehicle´s collection. "}},
"column_2"=>
{"section_8"=>
{"title"=>"8. Accident / Vehicle Damage",
"text"=>
"In the event of an accident or vehicle damage, the Hirer agrees to the following procedures: 1) Immediately notify the Rental Firm and police authorities of any accident, theft, robbery or other misfortune. 2) Take pictures and obtain names and addresses of all persons involved as well as witnesses, that can document what happened 3) Fill the accident report, together with other vehicles that may be involved. 4) Shall not leave the vehicle without taking all measures regarding its protection and . 5) Shall not take any responsibility or pled guilty, in the event of an accident that might hold the Rental Firm liable 6) Collect the accident report signed by all parties involved and the documents prepared by the police authorities, along with the vehicle keys, if retained (in case of vehicle theft) and send it immediately to the Rental firm. Otherwise, all insurances and coverage’s will expire, and the Hirer is liable for all expenses."},
"section_11"=>
{"title"=>"11. Liability / Security Deposit and After Rental Payments",
"text"=>
"1) The security deposit can only be paid by credit card (Visa or Mastercard), and the credit card owner must be present at the pick-up. At the vehicle delivery, the Hirer is required to pay the security deposit according to the chosen Insurance option. This amount will be held in the Hirer’s credit card to ensure the excess payment in the event of robbery or accident and any other vehicle damage during the rental period. 2) If the security deposit amount is not authorized by the bank or by the credit card owner, the contract cannot be executed and the vehicle cannot be delivered. In this case, the regular cancelation policy will apply and the full booking amount will be charged to the Hirer. The security deposit will be returned to the Hirer at the end of the rental period, after an inspection by a Rental Firm member staff, who shall state the vehicle is in similar conditions compared to when it was collected. 3) Vehicle damage and equipment/extras damage costs will be charged according to the Rental Firm price table. The Hirer will also be liable for the days not rented during the vehicle reasonable repair time, according to the damages at issue. 4) In case of an accident where the Hirer does not consider himself responsible, the Rental Firm will hold the full amount of the security deposit until the insurance company states the responsibility. 5) If the damage repair costs cannot be determined immediately, the Rental Firm will hold the full amount of the security deposit. A portion of the excess can be refunded in case the final damage repair costs are lower than the amount paid. 6) The Hirer agrees that the Rental Firm is authorized to charge the credit card on file for any further amounts that may arise such as wild camping, parking tickets, fines, traffic offence penalties, tolls, damages to the van (interior or exterior) and overdue amounts. Rental Firm is entitled to verify any of the damages to the van for 30 days after the last day of the rental agreement. In the event of a fine, the Rental Firm will always attempt to forward the fine to the Hirer. On these cases, a 25€ administrative fee will be charged by the Rental Firm. In the event that it is not possible to forward the fine to the Hirer, the Rental Firm will process the fine and charge to the Hirer the total cost of the fine plus VAT and an added administrative fee of 50€. 7) Hirer must provide the Rental Firm with an alternative credit card that can be used to meet Hirer’s obligations under the Rental Firm Terms and Conditions, in case of insufficient funds, declined transactions for any reason, and cancelled or suspended credit card. 8) All unpaid invoices will be added interest, which is the highest legal rate plus a flat fee, corresponding to 20% of the unpaid amount and any compensation for occurred damages / lost profits due by law. In the event of a legal dispute somehow related with this contract, the parties agree that the jurisdiction of the pick-up location will be applied."}}}}}}}
Outputted yaml file
File.open("#{#PATH}foo.yml", "w") do |f|
YAML.dump(foo,f)
end
(also used f.puts foo.to_yaml) with the same result
en:
contract:
terms_and_conditions:
FF:
company: Foo Foo SA
spain_checkin_company: Foo Foo Spain SLR
title: Rental Agreement
header: This Rental Agreement regulates the rental conditions between Foo
Foo, hereinafter referred to as the Rental Firm, and the client, identified
by a valid driving license, hereinafter referred to as the Hirer, and it
is ruled by all the general and special conditions described in this agreement,
unless there is any written derogation or alteration.
column_1:
section_1:
title: 1. Vehicle conditions
text: 1) The customer acknowledges having received the Vehicle and rented
extras in a clean condition and with all the features working. 2) The
customer will return the vehicle in a clean condition, with the same
amount of fuel at the pick-up, and with all the vehicle’s features operating
in a normal way, on the return date, time and location established in
the Rental Agreement. Failure to meet these criteria will result in
additional charges to the Hirer according to the rental firm price table.
Any loss or damage in rented extras, equipment or spare parts, will
be fully charged to the Hirer according to the Rental Firm price table.
section_2:
title: 2. Documents
text: 'A valid vehicle driver’s license, ID or Passport and credit card
(Visa or Mastercard) are required and must be presented upon the vehicle’s
collection and signing of the rental agreement. If the Hirer does not
bring the necessary documents, the vehicle cannot be rented and regular
no show fee will apply. 2) To hold a valid license to drive in Europe
is the responsibility of the Hirer 3) The Hirer should be older than
18 years old. 4) If the Hirer is under 25 years of age, purchasing the
Standard Insurance plan is mandatory, and he/she isn''t allowed to purchase
the Basic or Full Insurance plan when renting a vehicle. 5) The credit
card owner must be present at the vehicle´s collection. '
column_2:
section_8:
title: 8. Accident / Vehicle Damage
text: 'In the event of an accident or vehicle damage, the Hirer agrees
to the following procedures: 1) Immediately notify the Rental Firm and
police authorities of any accident, theft, robbery or other misfortune.
2) Take pictures and obtain names and addresses of all persons involved
as well as witnesses, that can document what happened 3) Fill the accident
report, together with other vehicles that may be involved. 4) Shall
not leave the vehicle without taking all measures regarding its protection
and . 5) Shall not take any responsibility or pled guilty, in the event
of an accident that might hold the Rental Firm liable 6) Collect the
accident report signed by all parties involved and the documents prepared
by the police authorities, along with the vehicle keys, if retained
(in case of vehicle theft) and send it immediately to the Rental firm.
Otherwise, all insurances and coverage’s will expire, and the Hirer
is liable for all expenses.'
section_11:
title: 11. Liability / Security Deposit and After Rental Payments
text: 1) The security deposit can only be paid by credit card (Visa or
Mastercard), and the credit card owner must be present at the pick-up.
At the vehicle delivery, the Hirer is required to pay the security deposit
according to the chosen Insurance option. This amount will be held in
the Hirer’s credit card to ensure the excess payment in the event of
robbery or accident and any other vehicle damage during the rental period.
2) If the security deposit amount is not authorized by the bank or by
the credit card owner, the contract cannot be executed and the vehicle
cannot be delivered. In this case, the regular cancelation policy will
apply and the full booking amount will be charged to the Hirer. The
security deposit will be returned to the Hirer at the end of the rental
period, after an inspection by a Rental Firm member staff, who shall
state the vehicle is in similar conditions compared to when it was collected.
3) Vehicle damage and equipment/extras damage costs will be charged
according to the Rental Firm price table. The Hirer will also be liable
for the days not rented during the vehicle reasonable repair time, according
to the damages at issue. 4) In case of an accident where the Hirer does
not consider himself responsible, the Rental Firm will hold the full
amount of the security deposit until the insurance company states the
responsibility. 5) If the damage repair costs cannot be determined immediately,
the Rental Firm will hold the full amount of the security deposit. A
portion of the excess can be refunded in case the final damage repair
costs are lower than the amount paid. 6) The Hirer agrees that the Rental
Firm is authorized to charge the credit card on file for any further
amounts that may arise such as wild camping, parking tickets, fines,
traffic offence penalties, tolls, damages to the van (interior or exterior)
and overdue amounts. Rental Firm is entitled to verify any of the damages
to the van for 30 days after the last day of the rental agreement. In
the event of a fine, the Rental Firm will always attempt to forward
the fine to the Hirer. On these cases, a 25€ administrative fee will
be charged by the Rental Firm. In the event that it is not possible
to forward the fine to the Hirer, the Rental Firm will process the fine
and charge to the Hirer the total cost of the fine plus VAT and an added
administrative fee of 50€. 7) Hirer must provide the Rental Firm with
an alternative credit card that can be used to meet Hirer’s obligations
under the Rental Firm Terms and Conditions, in case of insufficient
funds, declined transactions for any reason, and cancelled or suspended
credit card. 8) All unpaid invoices will be added interest, which is
the highest legal rate plus a flat fee, corresponding to 20% of the
unpaid amount and any compensation for occurred damages / lost profits
due by law. In the event of a legal dispute somehow related with this
contract, the parties agree that the jurisdiction of the pick-up location
will be applied.
Column 1, section 2, text contains a trailing space.
Column 2, section 8, text contains a : character followed by a space.
The specification says:
The plain (unquoted) style has no identifying indicators and provides no form of escaping. It is therefore the most readable, most limited and most context sensitive style. In addition to a restricted character set, a plain scalar must not be empty, or contain leading or trailing white space characters. It is only possible to break a long plain line where a space character is surrounded by non-spaces.
...
Plain scalars must never contain the “: ” and “ #” character combinations. Such combinations would cause ambiguity with mapping key: value pairs and comments. In addition, inside flow collections, or when used as implicit keys, plain scalars must not contain the “[”, “]”, “{”, “}” and “,” characters. These characters would cause ambiguity with flow collection structures.
Related
Flexcube - Customer Account's status change from/to 'OVER' / 'NORM'
On Oracle Flexcube, in the sttm_cust_account table, there is an 'ACC_STATUS' column. In this column value changes from/to 'OVER' <> 'NORM' on some conditions. I need to find when and where this status changes? This status changes during EOD or changes with any JOB? Do anyone knows in which packages I can found logic? I know the module where we can change manually status. But now I need to find place where automatically changes these statuses Thanks in advance
For Flexcube 14.0 and above is applicable that the automatic status change logic you must check the STATUS RULE button in Account class maintenance screen(Function_id:-STDACCLS). The Automatic status change happens during EOD. Also at the Account class level there is a Preference as Status change Automatic which you can override at the Account level to indicate whether status change is automatic for this account class or account. For Manual status change you have to refer the screen (function id:-STDSTCHN). Please find the below from the manual regarding STATUS RULE maintenance In this screen, you can define five conditions for each status applicable to an account class. An account will be said to be in a specific status if any one of the five conditions associated with the status holds true for an account. Conversely, if all the conditions are false, the account will automatically move to the next available status for which the condition is true. A user defined status INTR is used for both OD and Loan accounts. When a loan is in adversity status and the customer pays the entire overdue amount, the status of the loan changes to a user defined account status ‘INTR’ rather than ‘NORM’, so would the other OD and loan accounts of the same customer across branches. Only backward movement of any other status to INTR is applicable. The account status cannot change from NORM to INTR. The status sequence of INTR is maintained as the immediate sequence number next to NORM. The following elements are available based on which you can build a condition for automatic status change. You can associate each of these elements with an account, in the ‘Customer Accounts Maintenance’ screen. The set of elements are as follows: Frozen Dormant No Debits No Credits Stop Payment Current Status In addition, the following elements will also be available for processing: OD (overdraft) Days Inactive Days Overline Days TOD (Temporary Overdraft) Days Customer Classification Due Count Overdue Days Customer Credit Ranking Debit Interest Overdue Days Overdue Limit Breach Days Overdue Expiry Days Overdue No Credit days Principal Overdue Days Principal Overdue Amount Principal Overdue Local Currency Equivalent Amount Interest Overdue Days Interest Overdue Amount Interest Overdue Local Currency Equivalent Amount Charge Overdue Days Charge Overdue Amount Charge Overdue Local Currency Equivalent Amount Account Interim Days Appropriation Preference You can define the appropriation sequence for overdraft accounts for each account status. Appropriation sequence maintenance is mandatory if the ‘Component-wise Tracking for Overdraft’ is checked. The appropriation preference sequence can be modified anytime and this will be applicable for the existing accounts also.This modification will effect only for future credits and appropriation. Component with priority 1 Select the component with first priority from the adjoining drop-down list. The options available are: Principal Interest Charge Component with priority 2 Select the component with second priority from the adjoining drop-down list. The options available are: Principal Interest Charge Component with priority 3 Select the component with third priority from the adjoining drop-down list. The options available are: Principal Interest Charge Status Change for Overdraft Accounts Oracle FLEXCUBE processes the status change for overdraft accounts based on the following rules: Debit Interest OD Days OD Limit Breach Days OD Expiry Days No Credit days Account Interim Days Debit Interest OD Days The system processes the status change on overdraft account, if the customer fails to pay the debit interest of the overdraft account for specified number of days. For example, OD Utilization date: 01-Jan-2011 Days after which Status Change should happen: 90 Days Debit interest due date: 01-Feb-2011 In this example, the system modifies the customer account status based on the status rule maintenance, if the customer fails to pay the debit interest by 02-May-2011. OD Limit Breach Days The system processes the status change on OD account, if the OD limit of the overdraft account is breached for a specified number of days. The system tracks the overdraft limit breach days based on the utilizations done at the line level. OD Expiry Days The system processes the status change on overdraft account, if the OD utilization of the overdraft account is not settled beyond the expiry date. No Credit Days The system processes the status change on OD account if there is no credit transaction into the overdraft account for a specified number of days. Logical Operators Logical Operators are indicators of certain conditions that you specify while building a rule. These operators are used in combination with the elements discussed earlier. The following is a list of logical operators that you would require to build a status rule: Operator Description AND The conjunction ‘and’ OR The conjunction ‘or’ Greater than = Greater than or equal to (please note that there is no space between the two symbols) < Less than <= Less than or equal to (please note that there is no space between the two symbols) < > Not equal to (please note that there is no space between the two symbols) = Equal to Oracle FLEXCUBE allows data store for tracking of SOD debit interest due. During Interest liquidation for debit interest, the system populates the SOD Debit Interest Due Data Store with the Amount Due as debit interest for the SOD utilized amount and the due date of payment for the interest amount. The debit interest due amount is adjusted in the SOD utilized amount and the system checks for any credit entries for the SOD corresponding to the debit interest. During EOD, if any credit entry exists for the account, then the system does adjustments on the amount due for the SOD debit interest due data store. The system also adjusts the debit interest payment against the oldest available debit interest due amount, and so on. Oracle FLEXCUBE provides SDEs for ‘SOD Due Count’ and ‘SOD Overdue Days’ for status rule generation. During EOD while running the status update batch, the system calculates SDE ‘SOD Due Count’ value as the count of the records having due amount not equal to zero from the SOD debit interest due data store. The system updates the ‘SOD Overdue Days’ with the number of days since the last debit interest payment done for the account. Oracle FLEXCUBE provides an account status called ‘DIDF’ for an SOD account, which is available as part of ‘Status Rule Screen’. If the ‘SOD Due Count ’or ‘SOD Overdue Days’ satisfies the condition specified in the status change rule, then the system changes the status for the account to ‘DIDF’. While running the status change batch, the system updates the ‘No Debit’ flag as ‘Y’ for ‘DIDF’ status account. If payment for the debit interest happens on the SOD account against the utilized amount, and if on recalculation the value of SDE ‘SOD Due Count’, or ‘SOD Overdue Days’ is not met, the status batch changes the status of the OD account from ‘DIDF’ to the previous account status and updates the ‘No Debit’ flag as ‘N’. For more information you can check the CASA user manual
Square payments: How to protect 'cards on file' from a data breach
I'm in the early stages of integrating Square payments. It makes sense in my application to allow users to save their card details, as we expect multiple small transactions. Square calls this feature 'cards on file'. As part of this process you create a customer and a related card in Square's system; IDs for these will be held in my system and associated with my users; that way when they come to pay again they can select the option of using a card on file. The API to actually charge the card simply takes these two IDs and an amount. What worries me is that my database is holding all the data necessary to charge a customer's card; I could write a script which just charges all of my customers an amount of money - naturally a hacker with access to my data could do the same thing. I wasn't expecting to have this level of risk in my system - my assumption was that Square would have isolated me from this (via some sort of user challenge for missing data - e.g. the CCV number). It seems the safe option is to not use the 'card on file' feature and have the user re-enter every time. Is this right, or have I completely misunderstood something here?
In order to charge a card, your Square access token is required along with the card ID. It's best practice to store that access token as an environment variable in order to limit the security risk. If someone gains access to the card IDs in your database, they won't be able to charge any of the cards without that access token that's associated with your developer account.
I did miss something - as any charge made on a customer's saved card is credited to my account (as configured in the Square portal), the only beneficiary of any fraudulent charge would be be me. A hacker could not get access to funds and therefore the risk is limited in scope. Obviously if I was a fraudulent company there would be a risk to users - it seems the EU isn't happy with this and changes coming this year will require additional information to be captured from the user at the point of sale. Strong Customer Authentication
Recreate Square deposit report via API
I would like to generate a Square deposit report via the API so I can import it as an invoice into Quickbooks desktop. I have tried ListTransactions and Settlements but each is missing some items. What I'd like to see: Gross Sales Returns Discounts Tax collected Tips collected Gift card sales Fees Square capital payments How do I pull all these together?
Have you tried out V1 ListPayments? It will return itemization, total money, tax, discounts, tips, card brand (which should show you if it's a gift card), refunds, and Square fees. Regarding Square capital payments, I believe you'll still need to utilize ListSettlements, as ListPayments focuses on payments made by your customers only. Reference: https://docs.connect.squareup.com/api/connect/v1#get-payments
Does balanced payment api validate these?
does api validate balanced payment social security number address account number legal name EIN Date of birth if yes, then how??
There are a two separate validation processes, one that occurs on the Customer resource and then on the Funding Instrument. 1) Customer For customer identity verification: https://docs.balancedpayments.com/1.1/overview/resources/#customer-identity-verification The customer identity verification is run through a 3rd party identification service each time the customer resource information is saved or updated, and is pertinent to underwriting merchants that are being paid out to. 2) Funding Instrument For address verification: https://docs.balancedpayments.com/1.1/overview/resources/#address-verification-service-avs Furthermore the Name, CVV, Postal_code, and Country Code fields are critical to reducing both fraud and declinations. These fields are checked by the banks, but do not result in hard failures. More info can be found here: https://docs.balancedpayments.com/1.1/overview/best-practices/#reducing-declined-transactions Please note that even if a customer object has name or address data this is not passed on to the card object when associated.
Magento: Adding a Product: Tier Price
I was wondering whether anyone could guide me on the purpose of the Tier Price section when adding a product to the catalog. What is a tier price and how does this section of the page work in terms of what can be accomplished with this field? Magento documentation is a bit limited, not sure where to find this information, and would like to have a grasp on the genric concept as well as the details.
Tier prices are remarkably easy - once you understand them. Getting your head around all fo the things Magento throws at you at first can be overwhelming and make you overthink some things. So, hopefully I can explain tier prices in Magento a bit for you. Tiered prices allow you to have multiple prices based on the quantity that the user wants to purchase (and the customer group). For example: Qty | Price 1 | $10 5 | $12 10 | $13 Customer groups (if you don't know what they are) allow you to group various customers together and set up different rules and settings for each group - like separate price tiers. For example, my company is a B2B supply-level company, and in order to have an account on our site, you have to be a verified distributor of ours, or member of a sales organization that does business in our industry. Our customers would get mad if their customers were able to logon to our site and see what they (as our distributors) are paying. To remedy the situation, we have one price tier we show for the "Not Logged In" customer group that contains MSRP. We also don't want to have to make the customer work too hard in figuring out what they will actually be paying, so we then have a "Logged In" price tier that displays the actual distributor prices. We also have a third price tier for some of our "Rewards" program customers that do a certain dollar amount of business with us in a specific time period - but that is just another example of how it can be used. Hopefully this helps. Let me know if you have other questions.