News:

Support the VirtueMart project and become a member

Main Menu

Paypal - credit cards

Started by Patrick-06, February 28, 2013, 17:44:10 PM

Previous topic - Next topic

Patrick-06

Hello, :D

Support of paypal says I have to insert this code so that buyers have credit cards visible.

Quote<input type='hidden' name='solution_type' value='Sole'/>

                        <input type='hidden' name='landing_page' value='Billing'/>



Which file it should insert this code?

thank you
Patrick

PRO

what paypal plugin are you using?


Patrick-06

Quote from: PRO on February 28, 2013, 18:52:36 PM
what paypal plugin are you using?

I use Joomla 2.5 Virtuemart 2.018
plugin is paypal vmpayment

Patrick

PRO

do you want to accept credit cards on YOUR site?

or them to enter it in paypal?


Patrick-06

#4
Quote from: PRO on February 28, 2013, 21:59:00 PM
do you want to accept credit cards on YOUR site?

or them to enter it in paypal?

No credit cards on my site...only them in paypal

paypal says :

QuoteIt is possible to pass the variables below to automatically unfold the tab payment without a PayPal account:

<input type="hidden"> name="solution_type" value="Sole"
<input type="hidden"> name="landing_page" value="Billing"

It must include these variables in validation button to send to the PayPal page


PRO


Patrick-06

Quote from: PRO on March 01, 2013, 19:22:21 PM
plugins/vmpayment/paypal

there is no form for this in plugins/vmpayment/paypal/paypal.php

variables must include in validation button....in a HTLM  form

Patrick

PRO

$post_variables = Array(

&

   foreach ($post_variables as $name => $value) {
         $html .= '<input type="hidden" name="' . $name . '" value="' . htmlspecialchars ($value) . '" />';
      }

Patrick-06

Quote from: PRO on March 01, 2013, 21:51:12 PM
$post_variables = Array(

&

   foreach ($post_variables as $name => $value) {
         $html .= '<input type="hidden" name="' . $name . '" value="' . htmlspecialchars ($value) . '" />';
      }

hurray! it works!

Many thanks PRO !
Many thanks ! Many thanks ! Many thanks !