News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Checkout via Paypal and directly to credit card.

Started by heyday, November 25, 2014, 16:15:06 PM

Previous topic - Next topic

heyday

How can I configure the Checkout, so that I get to the Paypal Payment Page in the Creditcard section?

VM 2.6.12.2
Joomla! 2.5.27

GJC Web Design

afaik u can't

if PP knows you have an account (as buyer  - by cookie) it won't in my experience offer the CC option (this is the std. Paypal method)
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

The PayPal Express plugin from http://plugins.online-store.co.uk/  has a setting to try to enforce PayPal to open at the card entry page, although this facility is not available in all countries. But as GJC says, if the shopper already has an account then they will be forced to go to the standard PP page.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

heyday

Thx a lot for the reply! Will try it and report about the results.

Xris75

Hi,

There was previously a hack for VM 2.0X that was allowing to force the credit card tab to stay open (enclosed).

>> I only have this Paypal solution and I see sheer difference of sales drop when this credit card tab is not opened.


I do not have the expertise to adapt it to our fantastic 2.6.14 version.

Can someone check it to see if it complicated to do it?

Thanks a lot

Chris



[attachment cleanup by admin]

alatak

Hello  Xris75

i have checked your paypal file.
You have 2 extra parameters : solution_type and landing_page
$html .='<input type="hidden" name="solution_type" value="Sole"/>';
$html .='<input type="hidden" name="landing_page" value="Billing"/>';


but Paypal do not have those parameters for the paypal standard
https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/formbasics/
https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/

i don't know how that code worked.

alatak

Hello

you can try to add those parameters in function preparePost (file plugins/vmpayment/paypal/paypal/helpers/paypalstd.php)
$post_variables['solution_type'] = 'Sole';
$post_variables['landing_page'] = 'Billing';

Xris75

Thanks to Alatak this is the solution :


In the file plugins/vmpayment/paypal/paypal/helpers/paypalstd.php

> line 58 add in function preparePost
$post_variables['solution_type'] = 'Sole';$post_variables['landing_page'] = 'Billing';


> line 199 of the same document under the line


$html .= '<input type="hidden" name="charset" value="utf-8">';


add these 2 lines :   

$html .='<input type="hidden" name="solution_type" value="Sole"/>';
$html .='<input type="hidden" name="landing_page" value="Billing"/>';



Tested on my site www.sawtay.fr
Works like a charm !!!


Thanks Alatak ! :)