Payment with Cards console logging card number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
It seems like you might of left development or test code in a script.
I previously posted this but I think i did it in the wrong place so was pointed here.
We are using "Website Payments Pro Hosted Solution" when someone enters their card details they are console.logged in the browser.
This doesn't seem correct, the culprit is a script called pmtpg.js
<script src="https://www.paypalobjects.com/webstatic/hostedsolutions/js/v1/pmtpg.js" type="text/javascript" ></script>
This is on a payment page like https://securepayments.paypal.com/webapps/HostedSoleSolutionApp/webflow/sparta/hostedSoleSolutionPro... SESSION ID}
jQuery.validator.addMethod("creditCardNumberEmptyValidator",function(value,element) { $("#btn_pay_cc").addClass("primary"); $("#btn_pay_cc").removeClass("disabled"); console.log("creditCardNumberEmptyValidator value "+value); if(value === "") { return false } else { return true; } });
It seems like you might of left development or test code in the script.
I've included a screen shot below.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello @SpottedPaint,
Thank you for reporting this. This behaviour has been escalated appropriately to see if it is intended or not. However this behaviour, despite being strangely logged on the console, does not compromise the security of the page as this card number already appear in full on the page itself and will not be carried over outside of this page unprotected.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Add Others data in SDKs
- Change the button from Sandbox to Production in REST APIs
- When I do PayPal capture Order, I keep on getting Invalid Request Connection in REST APIs
- Error: "Unable to change shipping method. Please try again." in PayPal popup in REST APIs
- How to redirect user to paypal checkout form for card payment? in PayPal Payments Standard