Print Page | Close Window

Not display PaymentType variable for Payment Metho

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=4962
Printed Date: 05-July-2025 at 8:51pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Not display PaymentType variable for Payment Metho
Posted By: marlanbrando
Subject: Not display PaymentType variable for Payment Metho
Date 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.








Replies:
Posted By: Hamish
Date 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
   

-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: marlanbrando
Date Posted: 30-January-2012 at 9:36pm
Thank you Hamish. 


Posted By: stevefilmer
Date 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




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net