Here is the JSON construct I am passing as my payment data (with my Perl backend):
my $form_json_text = qq~
{“idempotency_key”: “$SQ_idem_key”,
“amount_money”: {
“amount”: $Sq_total,
“currency”: “USD”
},
“source_id”: “$Nonce”,
“location_id”: “$SQ_loc_id”,
“reference_id”: “$Clientid”,
“buyer_email_address”: “$Ship_email”,
“note”: “$Product_description”,
“billing_address”: {
“first_name”: “$CC_fname”,
“last_name”: “$CC_lname”,
“address_line_1”: “$CC_addr”
}
}
~;
The transaction is processed just fine but when I look at the actual transaction details in Square (Dashboard) there does not appear to be any customer information stored even though I am specifying the email address, firstname, lastname and address of the credit card as well as the client ID.
The “note” (ie. Product Description) is being stored and displayed.
Maybe it is storing this information but none of it seems to be exposed in the Square Dashboard.
Am I doing something wrong?