-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Express Checkout - Icons for WC checkout page general list of gateways. #878
Comments
@angelleye we are using paypal.png since last 1.3.0 milestone, please confirm, are you really want to changed express checkout gateway default image to paypal-credit-card-logos.png ? |
@angelleye it seems paypal-credit-card-logos.png image is not suitable for PayPal Express checkout payment method. |
@kcppdevelopers Yeah, you're right. It would make sense if Guest Checkout is enabled to show that you can pay with PayPal or credit cards, but if it's just PayPal then it wouldn't be good to show them all. I do want to improve that graphic. It just doesn't look good because it's not centered nicely. Can we replace it with this one? You may need to resize it so it fits well. |
@kcppdevelopers How come the PayPal Pro option here doesn't have any graphic/icons next to it? |
@kcppdevelopers Please show me again what shows up here for PayPal Express when PayPal Credit is enabled as well? |
@kcppdevelopers I checked it out, and when PayPal Credit enabled in settings I'm getting this on the WC checkout page: So it's still not showing me a graphic that includes PayPal Credit..?? |
@kcppdevelopers Yeah, seems our logic here still isn't right. When I disable PayPal Credit I end up with this: However, I do have Guest Checkout enabled, so really the image above is what should show up in this case. |
@kcppdevelopers So to reiterate...
|
@angelleye I think one more condition we miss here. |
@kcppdevelopers yes correct
…On Sep 26, 2017 8:03 AM, "kcppdevelopers" ***@***.***> wrote:
@angelleye <https://github.com/angelleye> I think one more condition we
miss here.
1. If Express is enabled, PayPal Credit is enabled, and "Allow
customers to checkout without PayPal..." is disabled, then we should see
the PayPal +PayPal Credit icon. right?
[image: screenshot-2017-9-26 checkout dev]
<https://user-images.githubusercontent.com/13145461/30861680-28611b68-a2e9-11e7-98a6-5ba8fb871357.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#878 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAmZ-fNGcGdaEqD2lTVba4LTJbS8ErFqks5smPYcgaJpZM4Pf-Uj>
.
|
In #251 we addressed an issue where the graphic on the checkout is not using https:// when it should. It looks like those commits were never merged into our core code, though.
Looking at what we do have in our code it seems we did try to address this:
I'm a little bit confused by this whole piece of logic. I'm not sure why we're using paypal.png at all anymore..?? Also, we have paypal-credit.png included in our /assets/images/ but it doesn't seem to be getting used at all in the logic. We are using paypal-credit-card-logos.png if
show_paypal_credit
is enabled, which is the better graphic, but it doesn't include anything about PayPal Credit.So we have a few things to look at here.
is_ssl()
be coming up false for this guy when his site is indeed running on https://?Basically, I think what we need to do here is use the paypal-credit-card-logos.png as our default image instead of paypal.png. Then, we need to make another version of that which includes a PayPal Credit icon along with the others, and use that when
show_paypal_credit
is enabled. Finally, we need to double check our logic around http:// vs. https:// to ensure it's always properly output.The text was updated successfully, but these errors were encountered: