ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Not display PaymentType variable for Payment Metho
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Not display PaymentType variable for Payment Metho

 Post Reply Post Reply
Author
Message
marlanbrando View Drop Down
Newbie
Newbie


Joined: 28-December-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote marlanbrando Quote  Post ReplyReply Direct Link To This Post Topic: Not display PaymentType variable for Payment Metho
    Posted: 26-January-2012 at 5:36pm
I created a gateway payment method and named it "Credit Card".

Whereever "Payment Method" is displayed, the following text is displayed by ProductCart:

  Payment Method: Credit Card (name of gateway here)

I want to not display the (name of gateway here) part that comes from the PaymentType variable and only display the name given to the gateway payment method, due to some raised customer concerns.

Affected pages included orderComplete.asp, custOrdInvoice.asp, custOrdInvoicePDF.asp, custviewpastd.asp.

I can't figure out how to not display the PaymentType variable portion of the string on those pages when the Payment Method is being display.

Any guidance would be much appreciated.

Thanks.





Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 26-January-2012 at 8:11pm
We haven't ever had, that I recall, requests to hide that before.
I took a quick look at orderComplete.asp

                        <%=dictLanguage.Item(Session("language")&"_CustviewPastD_101")%>
                        <%
                            if PaymentName <> "" and PaymentName <> PaymentType then
                                Dim pcv_strPaymentType
                                Select Case PaymentType
                                    Case "PayPal Website Payments Pro": pcv_strPaymentType=PaymentName
                                    Case Else: pcv_strPaymentType=PaymentName & " (" & PaymentType & ")"
                                End Select
                                Response.Write pcv_strPaymentType
                                else
                                Response.Write PaymentType
                            end if



CustviewPastD_101 is the "Payment Method:" (from includes/languages.asp ) and the rest of that snippet determines what other text is put immediately after it.  It's very likely the code in the other files is very similar. HTH
   
Back to Top
marlanbrando View Drop Down
Newbie
Newbie


Joined: 28-December-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote marlanbrando Quote  Post ReplyReply Direct Link To This Post Posted: 30-January-2012 at 9:36pm
Thank you Hamish. 
Back to Top
stevefilmer View Drop Down
Newbie
Newbie
Avatar

Joined: 26-October-2011
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote stevefilmer Quote  Post ReplyReply Direct Link To This Post Posted: 11-June-2012 at 6:25pm

I followed this but do not see a reference to the onepage checkout where it matters most. 

For my cart the bottom right of that page reads "Payment Type: Authorize.Net". 

I know for many the "Authorize.Net" will be their payment gateway but I'm sure if we could figure this out it could help other people. Most shoppers have never heard of "Authorize.Net" and get confused. It would be better if it said "Payment Type: Credit Card" or "Payment Type: Credit Card via Authorize.Net"  


In the languages.asp file on line 1000 it says:

dictLanguage.Add "english_CustviewPastD_101", "Payment Method: "

...but i don't see how to change "Authorize.Net" to say "Credit Card"


I changed the code on line 449 to:

dictLanguage.Add "english_orderverify_12", "Payment Type: Credit Card"

...but then all the Payment Types have "Credit Card" in front of them.

Please advise.
Thanks,

Steve

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.