|
Rank: Starting Member
Groups: Registered
Joined: 8/31/2005 Posts: 2 Location: ,
|
Dear all,
How can i pass user card input and billing country input. Is it required to create my own enumeration of coutries and credit card types. Please tell me solution how can i solve this in C#.
DoDirectPmtReqType.DoDirectPaymentRequestDetails.CreditCard.CreditCardType=this.cmbCardType.SelectedItem.Value.ToString().Trim();
DoDirectPmtReqType.DoDirectPaymentRequestDetails.CreditCard.CardOwner.Address.Country=this.cmbCountry.SelectedItem.Value;
Error
Cannot implicitly convert type 'string' to 'com.paypal.soap.api.CreditCardType'
Cannot implicitly convert type 'string' to 'com.paypal.soap.api.CountryCodeType'
Thanks, Ahmad
|