With PayPal Pro enabled how can I delete the 'Credit Card' button option?

Permalink Browser Info Environment
I'm running 5.4.I with the newest version of Core Commerce and managed to get PayPal Pro working fine but can't find where to edit out the other option button to pay by credit card. I don't want people giving me info on their cards so this button needs to vanish - is it somewhere in a php doc?

If anyone knows and ideally which lines it is on and what to change I'd be so grateful!

Type: Discussion
Status: New
Cliffeco
View Replies:
Cliffeco replied on at Permalink Reply
Cliffeco
Okay, I've managed to figure this out myself eventually! So I'm posting my solution here in case it is helpful to anyone else :)

Go to httpdocs/packages/paypal_website_payments_pro/models/core_commerce/payment/methods/paypal_website_payments_pro/form.php

Edit out from line 23 down to 67.

I decided to add to line 67 this : "Please call us on 01948 840080 if you'd prefer to pay by phone."

This was good for my site as it alerted anyone not wanting to use PayPal and who checked the credit card button that we could use our virtual terminal.

Cheers,
Nick

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.