Create a custom payment (IDictionary)context["payment_to_process"]?!?


 

hi all,

 

i'm new commerce server , create custom payment method starter site. according msdn http://msdn2.microsoft.com/en-us/library/bb520907.aspx section 4 c, have payments using
(idictionary) payment = (idictionary)context["payment_to_process"]. 

if want credit card details, should use (idictionary) payment = (idictionary)context["creditcardpayment"]?

thanks much!

 

jos


the code sample showed simple list should have details.

 

code block
isimplelist paymentlist = dictionary["payments"] isimplelist;

 

 

iterate through , dictionary. dictionary should have data credit card number , expiration date , such. if need details on orderpipelinemappings.xml file , in section <class name="creditcardpayment"> is actual mapping.

 

good luck,

-max



Commerce Server  >  Commerce Server 2007



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'