Streamlining PayPal payment gateways/checkout

  • Posts: 2
  • Thank you received: 0
10 years 8 months ago #183589

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.6

I have an issue with PayPal payment plugins and workflow. Our setup:

Actual physical products being sold
Guest checkout
PayPal std
PayPal Pro

My client is trying to allow standard PayPal to allow customers with a PayPal account to use that mechanism for payments, or use their credit card.

Standard PayPal doesn't require name and address, credit card, etc. The customer is simply sent to PayPal payment gateway page (at paypal.com) to complete their order. That works fine, however, PayPal standard does not allow a customer to use a credit card without a PayPal account.

Using PayPal Pro, we need to collect an email address, billing and possibly shipping addresses, and credit card info. This also works fine for credit card users, but doesn't allow the user to use their PayPal account.

The problem is the requirements and order of the checkout workflow: In order to reach the "Checkout" button at the end of the checkout process, the guest user must enter their email and addresses even if they intend to use the standard PayPal checkout (which is entirely ignored by the standard PayPal process). This is unnecessary and for mobile devices, a pain at best.

We'd like to streamline this process as follows:

1. The user is presented their shopping cart, adds a coupon code, if necessary, and shipping selection, and gets their order total.
2. The user then chooses the payment gateway before having to enter any email/address/cc info.
3a. In the case of standard PayPal, they are sent to the PayPal page and completed their order, and are returned to the site.
3b. In the case of the PayPal Pro, they enter their email/address/cc info and submit the order. They never leave our site.

I can't see how this is possible with the current payment plugins and checkout workflow. Is this possible, and if so, how? Has anyone written custom code to work this way?

I tried the PayPal Express plugin, but it does not work the same with a selection of payment gateway at the final Submit checkout, so this also is an issue. Having three different "flows" for the different plugins is also very confusing to the customer, so this is not a viable alternative. The ultimate goal is to allow guest customers to use their PayPal account OR a credit card. It has to be easy to make a payment for guest customers.

Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 2
  • Thank you received: 0
10 years 8 months ago #183592

Sorry, this should have been posted in the Payment Methods or Checkout forum...

Please Log in or Create an account to join the conversation.

  • Posts: 84233
  • Thank you received: 13673
  • MODERATOR
10 years 8 months ago #183594

Hi,

1. PayPal Standard allows customers to pay with their credit card without a paypal account. We have it setup like that on our own website.
For that your paypal account must be a business account and you need to have the corresponding option activated in your merchant account. The best is to talk with the paypal support about this if you have issues with it.

2. You can't have some piece of the checkout removed based on the selected payment method. PayPal Express Checkout is indeed a solution here as its purpose is to skip your website checkout. So that the customer can directly checkout on PayPal's payment page. You don't necessary need to have it at the end or at the beginning of the checkout (it depends on how you configure your checkout workflow) and so you would be left only with the PayPal Pro credit card form on the payment method selection area if the customer didn't click on the PayPal Express Checkout button at the beginning/middle of the checkout. So it could be a viable solution for you as far as I can see.

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 1
9 years 10 months ago #216039

Hello Nicolas,

Hikashop 2.3.4
Joomla 3.3.6

I am having problems configuring the checkout process of my eshop here:

(URL removed)

What I am after is a checkout process that only uses PayPal and works in the same manner as these 2 sites do:

shop.rachelantonoff.com/

shop.friendsoftype.com/

Their checkout process does not require registration or the completing of a form.

I have the shop configured so that once a customer chooses an item they can either go directly to checkout or continue shopping.

I would like this process:

1. The customer chooses an item and then either continues shopping or checks out.

2. Once the customer chooses to checkout they should then be transferred directly to PayPal where they will then log into their PayPal account and complete their purchase from within the PayPal site.

The sites shown above allow this to happen, is this simple checkout possible with Hikashop?

I know I need to read the documentation and I have and am continuing to do so however I am having trouble finding the answer to this.

Thanks for all your support :)

Last edit: 9 years 10 months ago by keithstanley.

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 1
9 years 10 months ago #216068

Just wanted to let everyone know that I solved the problem I posted earlier :)

I have attached a screenshot of my Simplified PayPal Checkout setup for anyone else who might what the same

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 1
9 years 10 months ago #216074

There is always something more to fix.....

This is the default code that the PayPal plugin uses to go to PayPal with to continue the checkout process and allow the customer to pay with PayPal.

www.paypal.com/cgi-bin/webscr

This is OK except that I would like to force this to open a new window and I am unable to figure out the code to make this happen :(

Also if the customer empties the cart the next thing they see is a 404 error page??? :(

HELP!!! All advice welcome....

STILL LOVING HIKASHOP!!!!!! :)

Last edit: 9 years 10 months ago by keithstanley.

Please Log in or Create an account to join the conversation.

  • Posts: 26264
  • Thank you received: 4043
  • MODERATOR
9 years 10 months ago #216071

Hi,

Yes, that's right.
You can also hide the "next" button with a little bit of CSS ; so the user will just have the "paypal express checkout" button.

If you have a 404 error when you empty the cart, it's probably coming from the "URL where you will be redirected when the cart is empty" setting of the HikaShop configuration. Please make sure that it is set to a valid URL.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 9 years 10 months ago by nicolas.

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 1
9 years 10 months ago #216275

As always EXCELLENT SUPPORT!!!!!

I have one more problem I can not figure out....

When I am in my shopping cart and I go to the PayPal window, here is the default code:

www.paypal.com/cgi-bin/webscr

Can someone please tell me how to alter it to force PayPal to open in a new window? The idea is that once a customer finishes paying or decides not to continue they come back to my shop...

Can this be done?

Many thanks to everyone.

Please Log in or Create an account to join the conversation.

  • Posts: 84233
  • Thank you received: 13673
  • MODERATOR
9 years 10 months ago #216279

Hi,

Note that you have an option in your PayPal merchant account to automatically redirect back the customer to your shop at the end of the payment on PayPal. So that should already be a solution to what you want.

Otherwise, you can edit the file plugins/hikashoppayment/paypal/paypal_end.php and change the line:
<form id="hikashop_paypal_form" name="hikashop_paypal_form" action="<?php echo $this->payment_params->url;?>" method="post">
to:
<form id="hikashop_paypal_form" name="hikashop_paypal_form" action="<?php echo $this->payment_params->url;?>" method="post" target="_blank">

The following user(s) said Thank You: keithstanley

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 1
9 years 10 months ago #216586

MANY MANY THANKS!!!!! :) :) :) :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.104 seconds
Powered by Kunena Forum