Hi Support,
I have few questions regarding the Clover Hosted iFrame Solution.
1. How to generate a multi-pay token?
I know that based on documentation, we need to create a customer profile and then use the customerID for subsequent future transactions. But is there any other way of generating a multi-pay token?
I came across this question "https://community.clover.com/questions/34645/how-to-generate-a-multi-pay-token-with-the-ecomm-i.html" and in their it mention a way to generate multi-pay token without creating a customer profile.
clover.createToken({
isMultipayToken: true }).then((result) => {}
Above is set at frontend and it seems to be working in sandbox. I am not sure if this will work in production. Can you please confirm if we can use this method?
2. If we save multiple cards in the customer profile, how can we select the card to charge as we are only setting the "source" to customer ID, is there a way to set the card as well?
3. When creating a charge using customerID, I am getting a warning message in the response "Subsequent credential on file pay request sent for without Initial credential on file pay request"
In the request "invoice_number" is set to the original "ref_num" we get back when we charge the customer ID the very first time.
Request { "amount": 276, "currency": "USD", "source": "XHJT9X08Y0JM0", "external_reference_id": "900000196", "capture": true, "stored_credentials": { "sequence": "SUBSEQUENT", "initiator": "MERCHANT", "is_scheduled": true, "installment_info": { "bill_pay_indicator": "Recurring", "invoice_number": "1059863073" } } } Response { "id" : "GS0GZBC90WPQC", "amount" : 276, "payment_method_details" : "card", "amount_refunded" : 0, "currency" : "USD", "created" : 1687563199958, "captured" : true, "ref_num" : "106579074", "auth_code" : "112674", "warning_message" : "Subsequent credential on file pay request sent for without Initial credential on file pay request.", "outcome" : { "network_status" : "approved_by_network", "type" : "authorized" }, "paid" : true, "status" : "succeeded", "source" : { "id" : "XHJT9X08Y0JM0", "address_zip" : "30321", "brand" : "AMEX", "exp_month" : "12", "exp_year" : "2025", "first6" : "378282", "last4" : "0005" }, "external_reference_id" : "900000196" }