turner2f Posted December 5, 2016 Report Share Posted December 5, 2016 For those people wanting to know how to change the PayPal payment image for the "Submit Payment" button, here is a solution... When choosing to pay with PayPal there is a button in the form of an image. ISSUE: This button looks more like a badge, rather than a "clickable" button Not everyone making a payment would know to click on this image so they can pay. The PayPal "Submit Payment" button is currently referencing a URL at https://www.paypalobjects.com/en_US/i/bnr/horizontal_solution_PP.gif And we want to use our own custom PayPal graphic like... HERE'S WHAT TO DO ... STEP 1 - Go to... ~/components/gateways/nonmerchant/paypal_payments_standard/views/default/ And open... the " process.pdt " file. It contains both buttons URL's. For recurring, and non-recurring. Simply update the URLs to the new button image files. STEP 2 - The URL you will alter will look something like... $button_url = $recurring ? 'https://www.paypalobjects.com/en_US/i/btn/btn_subscribeCC_LG.gif' : 'https://www.paypalobjects.com/en_US/i/bnr/horizontal_solution_PP.gif'; $this->Form->fieldImage( 'submit', Just change them to something like ... $button_url = $recurring ? 'http://www.mywebsite.com/my_PP_btn.jpg' : 'http://www.mywebsite.com/my_PP_btn.jpg'; $this->Form->fieldImage( 'submit', ================== All DONE ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.