i was wondering how paypal Ecc works in magento.
When i see the source of the checkout page in magento cart,i do not see a form to send the request to the paypal.
COuld some explain me how it works in magento?
Thanks
The button on cart page links to the url "STORE.DOMAIN/paypal/express/start/" which is ultimately handled by startAction() method in app/code/core/Mage/Paypal/Controller/Express/Abstract.php. This simply builds a parametrised URL to paypal's servers and redirects the user there.
Related
I have two questions
I have a website in magento. I am using paypal for payment gateway. In checkout page paypal redirect to cart page. I just googled and found some solutions but none worked. Here I am using Mexico paypal extension also.
In admin while entering the sandbox box details to paypal like API username and password and etc, finally clicks on save config values are not updating. showing default values like some *********
Please any one help me?
we are working on optimisation for our Magento site. Here is the flow we found and not sure whether it could be improved.
When user clicks the PayPal checkout button, it is moved to Paypal login page. After login page, it shows the checkout page where user has to input password again. Is it normal? Can we skip the previous login page since user login twice during the checkout flow?
Are you using express checkout? Have you tried to change "Skip Order Review Step" to yes?
We have two sites in magento
Both site have same paypal account.
but one site is working fine but another not.
Auto return is on in my paypal account
Site1.com is working fine its redirect to site1.com success page after purchasing
site2.com -- After purchasing at site2.com I don't get redirected back to site2.com Thank you for purchasing page. Remains at Paypal page.
When request is posted to Paypal in that a return URL should get posted.
Log the form thats posted to Paypal aling with values and check whether it has that return URL or not.
I am using PayPal as payment method on my store in Magento.When i select PayPal as payment method it redirects me to PayPal login page at the same time but i want to redirect on that page after completing all steps of checkout.
How can i do this?
Is there any admin settings or I have to customize the code for this?
Please help.
Paypal Express Checkout is a checkout method (and not a payment method) and goes for authorisation to paypal website, get's the authorisation and user billing details and redirects you back to finish the checkout in paypal express checkout page.
This is how it works, you can set the action to be "sale" instead of "authorisation" but it will still redirect you back to Paypal express Checkout page in Magento to finish the order placement.
PayPal Express is designed to work this way (redirect to Paypal, then redirect to your website again). One reason is for example, that your business terms etc. must be shown to the customer before he finally agrees to buy.
There is - of course - another possibility: You could use Website Payments Standard. The customer will be redirected to PayPal after he confirmed your business terms and pays there.
Bad about this: Payments Standard is an "old standard" and "redirects most of the time"; we see several cases where the payment is confirmed by the customer, but the IPN won't show in Magento backend.
Brief Idea :
Sale: – If one uses payment action as Sale in PayPal online payment, the amount will be automatically credited to merchant account when the order is placed successfully.
If one sets PayPal payment action as Sale, the order is invoiced automatically when the order is placed.
Authorization: – The amount is not automatically credited to merchant account when order is placed successfully. For crediting amount to merchant account, the merchant should login to PayPal account and should approve the transaction.
PayPal Express:
User gets redirected to PayPal directly after the payment method has been chosen (and obviously before the order has been completed).
They return to the site to complete the order after authorizing payment with PayPal.
Uses the getCheckoutRedirectUrl() method which gets called in the savePayment() action of Mage_Checkout_OnepageController. So you get redirected before the order is completed as described above.
PayPal Standard:
User goes through entire checkout process and completes the order on site. They then get redirected to PayPal to sort out payment.
They do not need to come back to the site to complete the order as it has already been completed before redirecting to PayPal.
Uses the getOrderPlaceRedirectUrl() which gets called in the saveOrder() method of Mage_Checkout_Model_Type_Onepage
This is why you see the empty basket if you return to the site regardless of whether you pay at PayPal or not – the quote has already been converted to an order.
So in this sense PayPal express is essentially checkout method and PayPal standard is a payment method.
See additional information from Magento knowledge base :
http://www.magentocommerce.com/knowledge-base/entry/getting-started-with-paypal-express-checkout-for-magento-community
http://www.magentocommerce.com/knowledge-base/entry/paypal-express-checkout-workflow-for-magento-community
http://www.magentocommerce.com/knowledge-base/entry/setting-up-paypal-express-checkout-for-magento-community
I am having an issue with login. After coming to onepage checkout page, if customer registers or logs in using username and password, customer is TAKEN back to SHOPPING CART. This happens with both while registering and also for existing customer. The magento version is 1.8.0.0 and custom theme does have customer, checkout, persistent folders, i.e, it uses base templates. Please help with this.