Skip to content

Setting Card Fields

Tom Kay edited this page Jan 28, 2020 · 3 revisions

Set Name On Card

ChargeHive.setNameOnCard('Joe Bloggs');

Set Card Expiry

ChargeHive.setCardExpiry(12,21);

Set Billing Address

ChargeHive.setBillingAddress(
  {
    address1: 'my street',
    city: 'my city',
    county: 'my state',
    country: 'US',
    postal: 'zip'
  }
);