Script Overview
This screen finds a store customer and records which address was used for the vetting charge. Search reads the account, every saved address, matching orders, and ordered product codes. Saving a row stores the payment or shipping choice and the amount, then sets the vetted flag to N so the customer can confirm the charge from My Account.
Operator Workflow
Step 1
Find the Customer
-
Enter the name, email, phone, address, order number, or product code.
-
Every box you fill must match.
-
An address match can be any address on the account.
Step 2
Confirm the Address Book
-
Check that every payment and shipping address is listed.
-
If one is missing, the customer signs in, opens My Account, and uses Modify your address book entries.
Step 3
Charge the Card
-
Open the Authorize.net Virtual Terminal.
-
Use the card and payment address the customer names.
-
Keep the charge under $1.00.
Step 4
Record the Payment Address
-
Choose Payment on the address used in the Virtual Terminal.
-
Enter the amount charged on that row.
-
Click Update on that row.
Step 5
Mark Shipping Addresses
-
Choose Shipping on each of the other addresses.
-
Click Update on each of those rows.
Step 6
Ask for the Bank Amount
-
Tell the customer to check their financial institution for the amount charged.
Step 7
Confirm on the Website
-
The customer signs in, opens My Account, then Modify your address book entries.
-
They enter the amount and click Confirm Amount.
-
They have 5 tries to enter the amount correctly.
Technical Reference & Safeguards
- Data Read:
oc_customer, every oc_address row for that customer, oc_zone, oc_country, oc_order, oc_order_product, and pd_address_vetted. Product descriptions are not read.
- Database Writes:
pd_address_vetted.customer_id, address_id, address_type, amount, vetted, and tries with a prepared upsert inside one transaction. A new row sets tries to 0. Every other required column without a default is filled with 0, 0.00, an empty string, or a zero date. The unique key must include address_id.
- Safeguards & Notifications: Filled search boxes combine with AND. The address must belong to the customer. Payment or Shipping is required. A repeat save updates that address, sets
vetted to N, and resets tries to 0. A failed save rolls back. Search results page at 100 customers.