PayPal button on Receipt page gone !!!

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Mike718NY
Commodore (COMO)
Commodore (COMO)
Posts: 485
Joined: Wed Jun 18, 2008 5:24 pm

PayPal button on Receipt page gone !!!

Post by Mike718NY » Wed Jul 14, 2010 9:08 pm

Seems PayPal has taken the image "Click here to pay PayPal" down
(the one on the Receipt page)

https://www.paypal.com/images/x-click-but6.gif

I can't find where this is located in the code.
I see this in the Receipt page:

Register Src="~/ConLib/Utility/PayPalPayNowButton.ascx" TagName="PayPalPayNowButton" ...

but I can't find the url to the paypal image.
I want to change it to a hard coded image and not use or rely on paypal's.

Anyone know how to change this image? I can't find it.

Mike718NY
Commodore (COMO)
Commodore (COMO)
Posts: 485
Joined: Wed Jun 18, 2008 5:24 pm

Re: PayPal button on Receipt page gone !!!

Post by Mike718NY » Wed Jul 14, 2010 9:29 pm

The only place I can see where the image is coming from is:

\ConLib\Utility\PayPalPayNowButton.ascx.cs


Control payNowButton = provider.GetPayNowButton(paymentItem.Order, paymentItem.PaymentId);
if (payNowButton != null) phPayNow.Controls.Add(payNowButton);


but the "GetPayNowButton" method code is not available if you dont' have the source code.
????????????????????

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Re: PayPal button on Receipt page gone !!!

Post by Shopping Cart Admin » Wed Jul 14, 2010 10:18 pm

Howdy Mike,

Have you checked your paypal settings, I doubt we've hard coded an image into our dll. FZ ftw.
Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

Mike718NY
Commodore (COMO)
Commodore (COMO)
Posts: 485
Joined: Wed Jun 18, 2008 5:24 pm

Re: PayPal button on Receipt page gone !!!

Post by Mike718NY » Wed Jul 14, 2010 10:23 pm

But Mike, this is happening on the 2 websites that I work on.
I'm hoping PayPal is going to put those images back on before morning :?

Mike718NY
Commodore (COMO)
Commodore (COMO)
Posts: 485
Joined: Wed Jun 18, 2008 5:24 pm

Re: PayPal button on Receipt page gone !!!

Post by Mike718NY » Wed Jul 14, 2010 10:28 pm

this is the image that should show :

http://images.paypal.com/images/x-click-but6.gif

and this is the image path I got from viewing the source on Receipt page:

https://www.paypal.com/images/x-click-but6.gif

which is not showing up.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: PayPal button on Receipt page gone !!!

Post by mazhar » Thu Jul 15, 2010 5:49 am

I noticed it too. Today I checked it again and it seems to be back now.

Mike718NY
Commodore (COMO)
Commodore (COMO)
Posts: 485
Joined: Wed Jun 18, 2008 5:24 pm

Re: PayPal button on Receipt page gone !!!

Post by Mike718NY » Thu Jul 15, 2010 7:19 am

Ok, the button is back . . . swine PayPal . . :x

But how do I change the button to an image on my server?
I still can't find where that button image is generated.
I want to replace it.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: PayPal button on Receipt page gone !!!

Post by mazhar » Thu Jul 15, 2010 7:29 am

In ConLib/Utility/PayNowButton.ascx.cs file locate following line of code

Code: Select all

Control payNowButton = provider.GetPayNowButton(paymentItem.Order, paymentItem.PaymentId);
Now you can change image URL by doing something like this below above line

Code: Select all

((ImageButton)payNowButton).ImageUrl = "Your Image URL here";

Post Reply