- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Community,
This is my first post here so bear with me. In the Documentation for CIM, the GetCustomerPaymentProfileResponseType has an object within paymentProfile called "creditcard".
In my .net application, I have a web reference to:
https://apitest.authorize.net/soap/v1/Service.asmx
However, the GetCustomerPaymentProfileResponseType's "paymentProfile" does not have "creditcard" within it:
Am I missing something? I've even updated the web reference to make sure I was using the latest version of it.. but no dice. Any help would be greatly appreciated
Solved! Go to Solution.
โ11-04-2014 12:40 PM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is the "payment", it can be either bank account or credit card. so you need to case it to the right type.
โ11-04-2014 12:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is the "payment", it can be either bank account or credit card. so you need to case it to the right type.
โ11-04-2014 12:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have example code for this type conversion?
โ11-04-2014 01:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Neveremind... I think I figured it out:
CustomerProfileWS.CreditCardType cct = aresponse.paymentProfile.payment.Item as CustomerProfileWS.CreditCardType;
@RaynorC1emen7 wrote:Is the "payment", it can be either bank account or credit card. so you need to case it to the right type.
โ11-04-2014 01:26 PM