Nop.BusinessLogic.Payment.PaymentInfo.cs

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
Hello NOP team

I realise it's just days until the new release, would be fantastic if you could add the following to this file

/// <summary>
        /// Gets or sets a credit card start year
        /// </summary>
        public int CreditCardStartYear { get; set; }

        /// <summary>
        /// Gets or sets a credit card start month
        /// </summary>
        public int CreditCardStartMonth { get; set; }

        /// <summary>
        /// Gets or sets a credit card CVV2 (Card Verification Value)
        /// </summary>
        public string CreditCardIssueNumber { get; set; }

This is for UK cards where we need to capture start date and card issue number.

Many thanks, hope it's not too late to squeeze it in ;)
13 years ago
Miles,

Is it me or is this still not added in? In addition to the code above is there anything else needed to show the fields on the Manual Payment Processor Page.

Thanks in advance

Ben
13 years ago
No, it's still not in there, v1.9 !

I don't use manual payment, but I guess you are going to need to..

add some DB fields if you want to store this info
update your entity mappings
update the ManualPaymentProcessor.cs file
update the templates\payment\manual payment module template to display the new fields

Probably a few other updates lurking too
13 years ago
Hi there!

IMHO the best choice for future implementations on the PaymentInfo class would be to wipe away all payment-method-specific properties (such as CreditCard... Paypal... Google...) and leave only generic info.

Then add a generic name-value dictionary to let each payment method handle its customized variables.

Comments are welcome.

Bye!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.