Magento - PayPal not redirecting to mobile site - php

On my Magento store I have a problem with PayPal. Magento is not redirecting PayPal payments to the mobile PayPal template if the customer is using a mobile phone or tablet. I contacted PayPal and they let me know that the variable "discount_amount_cart" should be removed in order to redirect customers to the mobile PayPal site.
I'm using the standard, built-in PayPal Website Payments Standard payment method. I searched the internet, but I can't find out what the consequences are when I remove that variable, and how I can do that.
Do you have any idea?
Thank you.

The only place this variable seems to be set is in this method: Mage_Paypal_Model_Api_Standard::getStandardCheckoutRequest(). In my opinion the discount should not be related to the mobile page, but you can try to remove it anyway.
discount_amount_cart is a optional field:
Single discount amount charged cart-wide.
It must be less than the selling price of all items combined in the cart. This variable >overrides any individual item discount_amount_x values, if present.
Applies only to the Cart Upload command.
-- PayPal - HTML Variables for Shopping Carts

I've got an answer back from PayPal: Unfortunately, there is no workaround for this currently. You cannot use the discount parameter and still use the mobile optimized checkout.
Bummer! We have to use the default website. Thank you, Simon H, for your help!

Related

Paypal Pro not showing shipping methods in magento

I am using paypal pro express checkout in magento 1.6 when I try to paypal pro express checkout from cart or product page its redirect to paypal page but there is no shipping option showing in paypal page for select shipping method.
Here is image from product page
Here is paypal page image
From image you can also get more idea
Any one know how to do it ?.
Yes it is correct. Paypal pro express checkout work similar. When User Click on Pay now Button. User will again redirect on Site, On Paypal Express Order Review Page.
Where user will have the option to sleecte applicable shipping method and click on Place Order button to place order finally.
The answer from Pankaj Pareek is absolutely correct. This is the checkout flow on Magento for Paypal Express. Note that your question title is misleading, whether you are using Paypal Payments Pro or Paypal Standard is irrelevant - when the user clicks the button from the cart or product page they are using Paypal Express to check out.
Magento's default Paypal Express checkout flow is dire - it actually takes longer to check out this way than a normal checkout as there's a ludicrous review step. You should note that even though you are using 1.6 it has not improved in the intervening 4.5 years despite them being bought by ebay.
Basically it's a backend config option to pass the shipping methods across.
However there is a bug which means its the id that gets shown in Paypal, not the label. It looks awful in Paypal. I stuck a module to fix it up in this answer;
https://magento.stackexchange.com/questions/6945/paypal-express-shipping-methods/#answer-50290
And other than this small problem the communication on shipping between Paypal and Magento works really well. User updates the address and the shipping options update etc.
You can further improve this flow by removing the review stage altogether in Magento. That is a bit harder, there are modules you can buy that help. It all massively improves conversion rates, it is well worth doing.

Does Paypal API has got any updates regarding NOSHIPPING issues? I am unable to unset shipping info prompts at paypals

I just wanted to know if it is possible using paypal REST api that we can disable the shipping information form on paypal site. I am currently working on a site to implement cart checkouts, For fist time, I found paypal saying "We dont allow US merchants to make shippings to countries outside US". So I started saving our shipping data to my own database and left paypal to process shipping amount (which is calculated on my end) only. now, issue is that I want paypal to not to ask for the shipping address at their's end as it would be confusing for a user. Any suggestions regarding this?
I'm not sure you can do that unless you flag all your products as digital (and hope Paypal doesn't notice). That might be a violation of their TOS, however.
Another option is to use Payments Pro and do your own checkout process, where you control what data is collected and passed along (and shipping data is definitely optional).

Magento Eliminate Credit Card Fields

We have a Magento Pro 1.10.2 store accessing "incentive points" to be used like cash for products. We've redirected the Authorize.net module to communicate with a website of ours instead of their credit card services. This works great except that we need to remove the dialog boxes for credit card information from the frontend checkout page. We've looked though onepage.phtml and form.phtml but are baffled.
All we really need to do is to make card type, card number, expire date, and CCV invisible but give them default values so that the verifyer doesn't complain (or just turn off verification). We don't need these fields for the way that we are using the Authorize.net interface.
Thanks in advance for your help.
Take a look #
Frontend
/app/design/frontend/base/default/template/payment/form/ccsave.phtml
/app/design/frontend/base/default/template/payment/form/cc.phtml
Admin
/app/design/adminhtml/base/default/template/payment/form/ccsave.phtml
/app/design/adminhtml/base/default/template/payment/form/cc.phtml
I think it would be better if you create your own custom magento payment module see http://inchoo.net/ecommerce/magento/how-to-create-magento-payment-module/

receive payments with paypal

I'm creating a really small website where I'll sell some products.
I need this website to show the available products, the users can add to the cart, and pay at the end, then I'll send the product for them by my self. It's a really small business.
I was taking a look at the paypal options and I didn't understand very well how it works.
For what I understand, with a free account I can only use their buttons, but I can't have a dynamic solution where I can manage my products on my website (look's like I need to add the products information like name and price on their website ).
What I wanted to do was just use my own website to handle this very simple store/products, and at the end, the user click on a CheckOut button, and Then I redirect the user to a paypal page where they can pay for the total value and then paypal redirect them back to me ( as a free account or at least with the 5$ account ).
Is that possible?
By the way I'm using CakePHP to build that, and I already have the website built with this framework, and to build what I need it's more than enough, I don't really need any solution like magento or others eCommerce platform.
Thank you.
If you use Paypal's free account then your visitor will leave your website, go to Paypal's website to make the payment, and then return to your website. Paypals paid version allows you to keep your visitor on your page, but you have to program you site to work with their API. Plus the cost can add up. Paypal also has other service other than just buttons. For instance they have a shopping cart too, but here again your vistor will leave your website to go to Paypals site to add the items to the shopping cart.
Another company that you might want to look at is https://stripe.com/ here you keep the vistor on your site as well as only paying per transaction rather than a monthly fee like at Paypal.
If you want to manage your items and inventory from your website and not enter everything into buttons at PayPal.com, I would suggest that you use Express Checkout. Express Checkout is also a free service and allows you to send all of the payments details to PayPal via API and PayPal will authenticate and allow your buyers to select shipping details. The user can then be redirected back to your website to complete their order.
You can find additional information here: https://www.x.com/developers/paypal/documentation-tools/express-checkout/gs_expresscheckout
Thanks,

coding first php cart - advice needed

I'm a php noob attempting my first shopping cart. I intend to use paypal checkout when the cart is ready. I'm having fun playing with this but need assistance.
Here is what I got so far: futurekode.com/uikits/store.php
I'm using form post to send the quantities to the cart.php page.
My question is how do I populate the table on the cart.php page with all the info like product name and price? Do I need to setup a database or could I use hidden inputs?
Any advice and sample code is appreciated
Thanks in advance
Database will be the preference, for persistence, but you can use a session which will be much better than hidden inputs.
As a self-admitted PHP 'noob', would it not be better for you to use a free shopping cart system such as Zen Cart or Cube Cart?
These pre-existing shopping carts will be able to offer you a much quicker solution as you won't need to code them, will likely have better security in place, and even integration with PayPal.
As you said you will be appreciating some code let me first give you the link for PHP Paypal SDK with which you can use following options for your checkout PAYPAL PHP SDK
DoDirectPayment - Sale
DoDirectPayment - Authorization
ExpressCheckout - Sale
ExpressCheckout - Authorization
ExpressCheckout - Order
DoDirectPayment - 3DSecure - Sale
Just download sdk for php from here reflect your paypal test account changes and enjoy the code

Categories