The CPayment.CreditCardNumber property throws an exception after upgrading to 15.1.2.x. See two attached files for a console application and config file that test that everything is working correctly.
... Yes, this is a working example once we got gor our upgrade issues resolved. As stated in the comments below, you'll need to remove the BindingRedirect section in the config file to use the older imis 15 version of the payflowpro assembly.
| Attachment | Size |
|---|---|
| TestAppConfig.txt | 4.77 KB |
| TestConsoleApplication.txt | 4.75 KB |
thanks for the sample...
...of course, by some corollary of Murphy's law, it works for me:
PaymentGateway in iMIS should be: pilot-payflow.paypal.com
Creating Initialization... Done!
Creating Asi.iBO.IiMISUser... Done!
Creating Asi.iBO.Financials.CPayment... Done!
Creating Asi.iBO.ContactManagement.CAddressBasic... Done!
Creating Asi.iBO.Commerce.PaymentGatewayResponse... Done!
AuthorizationCode: 468PNI
CardProcessingStatus: Authorized
IsSuccess: True
ReferenceId: V18A2B67794B
ResponseMessage: Approved
Result: 0
I got an error about Payflow_dotNET version mismatches, so I commented out the binding redirect at the end of your .config file, and then the auth succeeded. My Asi assemblies are version 15.1.2.4260 (i.e. 15.1.2 GA) - are you at a newer patch level?