VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Development & Testing => Topic started by: okgrowin on July 11, 2014, 20:35:28 PM

Title: paypal stuck in sandbox
Post by: okgrowin on July 11, 2014, 20:35:28 PM
VM version: 2.9.8
php version:  5.4.29
joomla version: 3.3.1

as said, no matter what combo of settings i put (even reverting to default settings) doesn't get it off sandbox.
This is standard option. i should only have to put in the email.

(http://i.imgur.com/Vye30hI.png)

note: the sandbox does work correctly and take me all the way to sandbox paypal site.
yes, I have read: http://forum.virtuemart.net/index.php?topic=123729.0
Title: Re: paypal stuck in sandbox
Post by: John2400 on July 13, 2014, 06:35:02 AM
Hi,

Just maybe reload over the top the saved versions you have. So upload the extension of mv again. Just maybe it will clear your problem.
Title: Re: paypal stuck in sandbox
Post by: okgrowin on July 14, 2014, 18:08:10 PM
Quote from: John2400 on July 13, 2014, 06:35:02 AM
Hi,

Just maybe reload over the top the saved versions you have. So upload the extension of mv again. Just maybe it will clear your problem.

i did a fresh install, reloaded over top, drop/created tables (restore system default in the tools menu) doesn't seem to change anything.

1. install vm2.9.8, vm2.9.8 allinone
2. set safe path
2. create shop (vendor), define currency to usd
3. add payment method name paypal, payment method: vm payment - paypal, save
4. add sandbox merchant email hit save

i don't think i'm doing anything wrong right?

what exactly is the decision tree for sandbox /  not?
Title: Re: paypal stuck in sandbox
Post by: okgrowin on July 15, 2014, 21:09:52 PM
I found the issue.... The production / sandbox was hidden for some reason...

I toggled the Display:none CSS and changed to production and saved....
No idea why this option has been set to display:none....

(http://i.imgur.com/YQMYy0f.png)

(http://i.imgur.com/hzvaJiY.png)
Title: Re: paypal stuck in sandbox
Post by: ITechnoDev on July 15, 2014, 21:22:22 PM
Some times AdBlock (or similar extensions)  hides some parts of the page.
Title: Re: paypal stuck in sandbox
Post by: Milbo on July 17, 2014, 14:34:19 PM
found and fixed
Title: Re: paypal stuck in sandbox
Post by: ciccicla on August 08, 2014, 12:43:32 PM
Can someone tell me the file I have to modified to solve this problem?

Thank you !
Title: Re: paypal stuck in sandbox
Post by: GJC Web Design on August 08, 2014, 16:23:53 PM
To fix this issue, in the paypal.xml file, remove the class="sandbox" in the field name sandbox
old code
Code: [Select]

<field class="sandbox" name="sandbox" type="radio" default="1" label="VMPAYMENT_PAYPAL_SHOP_MODE"

           
new code

Code: [Select]

<field class="" name="sandbox" type="radio" default="1" label="VMPAYMENT_PAYPAL_SHOP_MODE"

        from alatak
Title: Re: paypal stuck in sandbox
Post by: ciccicla on August 08, 2014, 17:47:17 PM
MANY many many many thanks :)
someone help me to say thank you
Title: Re: paypal stuck in sandbox
Post by: mixxivo on October 26, 2014, 22:09:49 PM
This works very well guys. Thanks for your sharings.

To be more precised, the famous file is found at :

/plugins/vmpayment/paypal/paypal.xml (line 32)

Good!