LogoLogo
HomeLibraryDonateAbout
  • Introduction
  • JS
    • EC
      • ECommerceInterface
      • ECDeviceInfo
      • ECProgress
      • Payment Objects
        • ECPrice
        • ECCreditCardPayment
        • ECCreditCardEncryptedPayment
        • ECECardPayment
        • ECAccountPayment
        • ECTransactionInfo
      • Title Objects
        • ECTitleLimit
        • ECTitleInfo
        • ECTicketInfo
    • DL Tasks
    • Keyboard
    • Mii
    • NWC24
    • SD Card
    • Shop
    • Sound
  • SOAP
    • Base Format
    • IAS
      • CheckRegistration
      • GetRegistrationInfo
      • SyncRegistration
      • GetChallenge
      • Register
      • Unregister
    • ECS
      • AcceptGiftTitle
      • ConfirmCSS
      • CheckAccountBalance
      • CheckDeviceStatus
      • DeleteETickets
      • GetECConfig
      • GetETickets
      • GiftTitle
      • ListETickets
      • ListPurchaseHistory
      • MigrateETickets
      • MigratePoints
      • NotifyETicketsSynced
      • PurchaseTitle
      • PurchasePoints
      • RedeemAllSCATitles
    • CAS
      • GetCountryAttributes
      • ListContentSets
      • ListContentSetGroups
Powered by GitBook
On this page

Was this helpful?

  1. JS
  2. EC
  3. Payment Objects

ECECardPayment

If you wish to represent a gift card to the server as a payment type, you utilize ECECardPayment. If the idea sounds familiar, it may be because Nintendo used them - ECards are officially Wii Points Cards.

For example, assuming every ECard is 16 digits long:

var payment = new ECECardPayment('001122334455667788');

Properties

Property Name
Discussion

payment.number

The typically 16 digit card number set during instantiation. Can be retrieved, or set to another set of digits.

PreviousECCreditCardEncryptedPaymentNextECAccountPayment

Last updated 3 years ago

Was this helpful?