VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: Patrick-06 on February 28, 2013, 17:44:10 PM

Title: Paypal - credit cards
Post by: Patrick-06 on February 28, 2013, 17:44:10 PM
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
Title: Re: Paypal - credit cards
Post by: PRO on February 28, 2013, 18:52:36 PM
what paypal plugin are you using?

Title: Re: Paypal - credit cards
Post by: Patrick-06 on February 28, 2013, 19:33:43 PM
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
Title: Re: Paypal - credit cards
Post by: 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?

Title: Re: Paypal - credit cards
Post by: Patrick-06 on February 28, 2013, 22:57:23 PM
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

Title: Re: Paypal - credit cards
Post by: PRO on March 01, 2013, 19:22:21 PM
plugins/vmpayment/paypal
Title: Re: Paypal - credit cards
Post by: Patrick-06 on March 01, 2013, 21:42:57 PM
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
Title: Re: Paypal - credit cards
Post by: 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) . '" />';
      }
Title: Re: Paypal - credit cards
Post by: Patrick-06 on March 01, 2013, 22:18:34 PM
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 !