Currently HPM2.0 only has support for this hardcoded list of credit card types: AmericanExpress Dankort Visa MasterCard Discover JCB Diners There are Payment Gateways in Zuora (e.g. Ingenico ePayments) that allow more Credit Cards Types like Maestro and Carte Bancaire. Although you can activate them in the Gateway Settings, you won't be able to input any valid Credit Card of these types if you have Frontend Validation/Detection active for your Hosted Page as there are no BIN Range checks implemented. Please allow all valid BIN Ranges to be mapped to a Card Type like defined here: https://www.bincodes.com/bin-list/ You already seem to have a convenient library in place to add these ranges, looking at the "isCardMatching" function in the HPM2Preload JS script.
... View more
I found 2 options: 1. There is a Rest endpoint to get a list of Invoices for an Account, which response includes a "reversed: <boolean>" field: https://www.zuora.com/developer/api-reference/#operation/GET_TransactionInvoice 2. There is a trick via ZOQL. select Id, Reversed from Invoice where ... Query works, but the Reversed field will not be included in the result. But it also won't throw an error, which led me to this workaround: select Id, ... from Invoice where ... and Reversed = true This works and correctly only returns Invoices that have been reversed.
... View more