KonaKart Community Forum

Installation / Configuration => Configuration of KonaKart => Topic started by: interition on October 15, 2014, 05:00:40 pm

Title: How do I configure Konakart to show the Card Owner on the payment page?
Post by: interition on October 15, 2014, 05:00:40 pm
I am using the Paypal Payflow Pro payment module. All works fine but the choice of Credit Card and the Card owners name is not shown on the payment form.

I notice in the CatalogCheckoutCreditCardBody.jsp there are some conditional statements for this:

<%if (pd.isShowOwner()) {%>
   <div class="form-input">
      <label><kk:msg  key="checkout.cc.ccowner"/></label>
    <input type="text" value="<%=order.getCustomerName()%>" name="owner"/>
.......

Where in the configuration can you influence pd.isShowOwner() to return true ?


Title: Re: How do I configure Konakart to show the Card Owner on the payment page?
Post by: interition on October 20, 2014, 03:12:31 pm
So as not to leave this thread hanging without a conclusion I'll just state that I did not solve this problem directly. I implemented a work around in the page myself by simply having  a link back to the order confirmation page where the card owner information could be verified and edited if needed by the Customer.
Title: Re: How do I configure Konakart to show the Card Owner on the payment page?
Post by: ming on October 20, 2014, 03:13:34 pm
Typically you would set those payment details attributes in the module code... so in your case, in com.konakart.bl.modules.payment.payflowpro.PayflowPro.java

Default settings in that module are:


       // Set the fields that should be visible in the UI when gathering Credit Card details
        pDetails.setShowAddr(false);
        pDetails.setShowCVV(sd.isShowCVV());
        pDetails.setShowPostcode(false);
        pDetails.setShowType(false); // Payflow Pro doesn't require the card type
        pDetails.setShowOwner(false);