Share via


ReleaseUpdateDB60_Retail::upgradeCreditCard Method [AX 2012]

Creates the service connector for Payment using the credit card.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          server public static str upgradeCreditCard(
            str _paymentServiceSDKBlob, 
            str _cardType, 
            str _cardHolderName, 
            str _cardnumber, 
            int _expirationMonth, 
            int _expirationYear, 
            str _streetAddress, 
            str _streetAddress2, 
            str _city, 
            str _state, 
            str _postalCode, 
            str _country, 
            str _phone, 
            str _last4digits)

  Microsoft Dynamics AX 2012 R2 (SYS)
          server public static str upgradeCreditCard(
            str _paymentServiceSDKBlob, 
            str _cardType, 
            str _cardHolderName, 
            str _cardnumber, 
            int _expirationMonth, 
            int _expirationYear, 
            str _streetAddress, 
            str _streetAddress2, 
            str _city, 
            str _postalCode, 
            str _country)

Run On

Server

Parameters

  • _paymentServiceSDKBlob
    Type: str
    XML containing the transaction details
  • _cardType
    Type: str
    Type of card used for the payment. Visa, MasterCard, Discover and AmericanExpress
  • _cardHolderName
    Type: str
    Card owners's name.
  • _cardnumber
    Type: str
    Number of the card.
  • _expirationMonth
    Type: int
    Expiration month on the card.
  • _expirationYear
    Type: int
    Expiration year on the card.
  • _streetAddress
    Type: str
    Street address of the card owner.
  • _streetAddress2
    Type: str
    Second Street address of the card owner.
  • _city
    Type: str
    City name of the card owner.
  • _state
    Type: str
    State name of the card owner.
  • _postalCode
    Type: str
    Postal code of the card owner's residence.
  • _country
    Type: str
    Country to where card's owner is residing.
  • _phone
    Type: str
    Phone number of card's owner.
  • _last4digits
    Type: str
    Last 4 digits of card's owner.

Return Value

Type: str
Result of the operation in the form of a XML string.

See Also

Reference

ReleaseUpdateDB60_Retail Class