Prohibited Items (Google Checkout and PayPal)
Prohibited Items (Google Checkout and PayPal)
There is a box in product details to prevent offending products (that are listed in Google Checkout user's agreement) from being purchased via Google Checkout. PayPal has a similar agreement, but I am not seeing anyway to prevent offending products being purchased via PayPal.
How are others handling this?
Thanks
How are others handling this?
Thanks
Able Customer Since 1999 Currently Running on GOLD R12 SR1 and PCI Certified.
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Prohibited Items (Google Checkout and PayPal)
We handled it on one site by making the Paypal payment method not visible if the basket contained a product was checked to not display for Google checkout.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Prohibited Items (Google Checkout and PayPal)
Good idea. But exactly how did you do this? Do you need the source code to do this?jmestep wrote:We handled it on one site by making the Paypal payment method not visible if the basket contained a product was checked to not display for Google checkout.
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Prohibited Items (Google Checkout and PayPal)
No, we didn't need the source code. I don't remember exactly, but I think I did it on the conlib on the basket page where the paypal express and google checkout button display.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Prohibited Items (Google Checkout and PayPal)
Edit Website/ConLib/PayPalExpressCheckoutButton.ascx.cs and then locate following codeMike718NY wrote:Good idea. But exactly how did you do this? Do you need the source code to do this?jmestep wrote:We handled it on one site by making the Paypal payment method not visible if the basket contained a product was checked to not display for Google checkout.
Code: Select all
// FIND THE PAYPAL GATEWAY
PayPalProvider provider = StoreDataHelper.GetPayPalProvider();
Code: Select all
Basket basket = Token.Instance.User.Basket;
foreach (BasketItem item in basket.Items)
{
if (item.OrderItemType == OrderItemType.Product)
{
if (item.Product.IsProhibited)
{
this.Visible = false;
return;
}
}
}
// FIND THE PAYPAL GATEWAY
PayPalProvider provider = StoreDataHelper.GetPayPalProvider();
Re: Prohibited Items (Google Checkout and PayPal)
thanks. . but will this take PayPal out the "Payment Method" options on the Checkout page?
Is "PayPal Express" the one where the user is taken directly to paypal without having to
enter their billing/shipping address at the store?
I think I'm using the regular paypal where the user fills out billing/shipping and then
is sent to paypal.
Is "PayPal Express" the one where the user is taken directly to paypal without having to
enter their billing/shipping address at the store?
I think I'm using the regular paypal where the user fills out billing/shipping and then
is sent to paypal.
Re: Prohibited Items (Google Checkout and PayPal)
Well if you want to take away it from payment methods as well then you need to do the same in Website/Checkout/PaymentMethodForms/PayPalPaymentForm.ascx.cs file.