19 pointsStarting to get into this DEV thingI'm new here
Holodigit
Member
—
17th June 2011 (11 months ago)
I want substitute the Paypal express icon that appears on payment choose when client checkout, in front end.
For manual payment I can change the icon that is stored in image folder but PP's icon is dynamic and delivered by Paypal itself (if I didn't misunderstood) but I don't want use that icon and need something more clear, with credit cards and some text, so have to change the way how that icon appears.
Please, can something point me in the right direction to safely change that image without create problems with gateway?
Thanks in advance.
I want substitute the Paypal express icon that appears on payment choose when client checkout, in front end.
For manual payment I can change the icon that is stored in image folder but PP's icon is dynamic and delivered by Paypal itself (if I didn't misunderstood) but I don't want use that icon and need something more clear, with credit cards and some text, so have to change the way how that icon appears.
Please, can something point me in the right direction to safely change that image without create problems with gateway?
Thanks in advance.
8202 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
WPMU DEV Fanatic
—
21st June 2011 (11 months ago)
#
Hi Holodigit,
Many thanks for providing that screenshot! I never really tested MarketPress with several gateways active at the same time so I didn't quite realize what you were referring to.
Looking through the PayPal Express gateway code for MarketPress, I found the relevant lines of code starting at line 55 of paypal-express.php.
And it does note that PayPal has a requirement for those button images. So while you could easily change the image url, it seems it would be going against PayPal rules to do so.
I made a too much difficult question?
Want only know how to change an icon but need to know it for sure, cannot be enough a "seems" in a paid support forum.
Thanks in advance
8202 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
WPMU DEV Fanatic
—
23rd June 2011 (11 months ago)
#
Hi Holodigit,
Sorry for the delay, let me try and clarify this.
a) you are not the developer of Marketpress, because don't know where the plugin take icons and how
That is partially correct, I am not the developer. However, it is not correct in that I do know exactly how the PayPal icons are managed and I clearly specified that in my response and told you exactly where in the code you could find those references.
b) you didn't tested MP at all, because manual payment and PP Express are default even in Lite edition, not "several" gateways, only one.
I did test MarketPress and I continue to test it actually. But that's not relevant in this case given that I'm speaking about the lines of code where the PayPal icon is referenced.
c) you (and, therefore, I) still don't know if it's possible to change the PP icon or if create problem to gateway
I actually had given you the location where you could find what's necessary to make those changes actually, but it's not something I can give you more details on simply because we can't support the changing of those icons as it goes against PayPal rules.
It's all detailed at around line 55 of marketpress-includes/plugins-gateway/paypal-express.php within the MarketPress folder.
Thanks David,
but where to change code to insert another image I found by myself, in fact I shown you what happen, from which link it take image and that was dynamically taken from Paypal.
Isn't important if you or whatever are or not the developer, for me it's important that you (your company) can offer the support that I need and for which I paid subscription.
If you (your company) don't know how to change an icon, how I can rely in this plugin to build more complicate things?
I canceled my subscription. If this is your (your company) idea of support, doesn't fits with mine.
Thanks for great assistance
8202 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
WPMU DEV Fanatic
—
29th June 2011 (10 months ago)
#
Hi Holodigit,
Sorry if I seemed unclear about this matter. What I maybe should have said is that this is not something we can support here. It requires an edit of the plugin code that we can't support because of PayPal rules.
I did mention exactly where in the plugin code you could find the relevant item you're looking for, but we really can't rightly provide more information than that.
If you have any other requests that wouldn't require advising on going against PayPal rules, we'll be happy to assist, even where there's an edit to the code required.
But in this case, the best we can do is point out where in the plugin code you can make such a change. I hope you can understand, we really do try and accommodate all requests here, even for useful code snippets, but this is just something we can't provide given the circumstances.
Hi David,
nothing unclear, don't worry.
It's clear is that you cannot change the code if need.
It's very easy to call Paypal's function from a custom icon, need only to show the icon before and after call PP.
If you are impotent to change an icon, you are not reliable. Period. The rest are words in wind.
Responses (11)
WPMU DEV Fanatic — 17th June 2011 (11 months ago) #
Hi Holodigit,
I may just be a bit confused here but I'm not seeing a PayPal icon myself, but there's the Checkout button provided by MarketPress itself.
Could you maybe provide a screen grab of the icon you're seeing?
Thanks,
David
Member — 17th June 2011 (11 months ago) #
Hi David,
of course, here attached.
While the image of cash register is taken by images folder and is manual-payment.png, the Paypal one is dynamically grabbed from this address https://fpdbs.paypal.com/dynamicimageweb?cmd=_dynamic-image&buttontype=ecmark&locale=it_IT. I want safely change this address and use my own image.
WPMU DEV Fanatic — 21st June 2011 (11 months ago) #
Hi Holodigit,
Many thanks for providing that screenshot! I never really tested MarketPress with several gateways active at the same time so I didn't quite realize what you were referring to.
Looking through the PayPal Express gateway code for MarketPress, I found the relevant lines of code starting at line 55 of paypal-express.php.
However, you'll notice the following url in the comments:
https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/e_howto_api_ECButtonIntegration
And it does note that PayPal has a requirement for those button images. So while you could easily change the image url, it seems it would be going against PayPal rules to do so.
Cheers,
David
Member — 21st June 2011 (11 months ago) #
Hi David,
thanks for answer, let me resume, may be I missed or misunderstood something.
a) you are not the developer of Marketpress, because don't know where the plugin take icons and how
b) you didn't tested MP at all, because manual payment and PP Express are default even in Lite edition, not "several" gateways, only one.
c) you (and, therefore, I) still don't know if it's possible to change the PP icon or if create problem to gateway
is it all correct?
Member — 23rd June 2011 (11 months ago) #
I made a too much difficult question?
Want only know how to change an icon but need to know it for sure, cannot be enough a "seems" in a paid support forum.
Thanks in advance
WPMU DEV Fanatic — 23rd June 2011 (11 months ago) #
Hi Holodigit,
Sorry for the delay, let me try and clarify this.
That is partially correct, I am not the developer. However, it is not correct in that I do know exactly how the PayPal icons are managed and I clearly specified that in my response and told you exactly where in the code you could find those references.
I did test MarketPress and I continue to test it actually. But that's not relevant in this case given that I'm speaking about the lines of code where the PayPal icon is referenced.
I actually had given you the location where you could find what's necessary to make those changes actually, but it's not something I can give you more details on simply because we can't support the changing of those icons as it goes against PayPal rules.
It's all detailed at around line 55 of marketpress-includes/plugins-gateway/paypal-express.php within the MarketPress folder.
Cheers,
David
Member — 23rd June 2011 (11 months ago) #
Thanks David,
but where to change code to insert another image I found by myself, in fact I shown you what happen, from which link it take image and that was dynamically taken from Paypal.
Isn't important if you or whatever are or not the developer, for me it's important that you (your company) can offer the support that I need and for which I paid subscription.
If you (your company) don't know how to change an icon, how I can rely in this plugin to build more complicate things?
I canceled my subscription. If this is your (your company) idea of support, doesn't fits with mine.
Thanks for great assistance
Member — 24th June 2011 (11 months ago) #
This is not resolved so, please, don't mark it as resolved until find a solution.
WPMU DEV Fanatic — 29th June 2011 (10 months ago) #
Hi Holodigit,
Sorry if I seemed unclear about this matter. What I maybe should have said is that this is not something we can support here. It requires an edit of the plugin code that we can't support because of PayPal rules.
I did mention exactly where in the plugin code you could find the relevant item you're looking for, but we really can't rightly provide more information than that.
If you have any other requests that wouldn't require advising on going against PayPal rules, we'll be happy to assist, even where there's an edit to the code required.
But in this case, the best we can do is point out where in the plugin code you can make such a change. I hope you can understand, we really do try and accommodate all requests here, even for useful code snippets, but this is just something we can't provide given the circumstances.
Thanks,
David
Member — 29th June 2011 (10 months ago) #
Hi David,
nothing unclear, don't worry.
It's clear is that you cannot change the code if need.
It's very easy to call Paypal's function from a custom icon, need only to show the icon before and after call PP.
If you are impotent to change an icon, you are not reliable. Period. The rest are words in wind.
Regards,
Marco
Sales & Support Lead — 29th June 2011 (10 months ago) #
Hiya Marco,
From your last post it seems you know how to do what you're looking for here. Glad to hear it. I'm going to close this up and mark it resolved.
Thanks!
Thanks for viewing this post but this topic has been closed to new replies.
Become a member