PagSeguro 0.3.2 no Virtuemart 2.0 - Alguém já fez isto???

Mais
13 anos 5 meses atrás #71387 por luizwbr
luizwbr replied the topic: Re: PagSeguro 0.3.2 no Virtuemart 2.0 - Alguém já fez isto???
Daí pessoal, o erro desapareceu pra vocês?

Qualquer coisa postem as dúvidas aqui <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Chocado" /><!-- s:shock: -->

[b:3ah8ktjp]Luiz F. Weber[/b:3ah8ktjp]
[url:3ah8ktjp]http://weber.eti.br[/url:3ah8ktjp] - blog Virtuemart
[url:3ah8ktjp]http://loja.weber.eti.br[/url:3ah8ktjp] - plugins VM
[url:3ah8ktjp]http://webgenium.com.br[/url:3ah8ktjp] - trabalho

Please Entrar ou Registrar to join the conversation.

Mais
13 anos 5 meses atrás #71555 por geovany
geovany replied the topic: Re: PagSeguro 0.3.2 no Virtuemart 2.0 - Alguém já fez isto???
Olá luizwbr, não sei se o problema é com os PLUGINS ou erro do virtuemart, mas continua aparecendo a seguinte mensagem ao finalizar a compra:

VmError: The workflow for or P is unknown, take a look on model/orders function handleStockAfterStatusChanged

Estou usando Virtuemart 2.0.6 Joomla 2.5.4

Sucessos, Geovany

luizwbr escreveu: Daí pessoal, o erro desapareceu pra vocês?

Qualquer coisa postem as dúvidas aqui <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Chocado" /><!-- s:shock: -->


[url:3k5zhabl]http://www.geovany.com.br[/url:3k5zhabl]
[url:3k5zhabl]http://www.portaldeitapoa.com[/url:3k5zhabl]

Please Entrar ou Registrar to join the conversation.

Mais
13 anos 5 meses atrás #71926 por erildobarone
erildobarone replied the topic: Re: PagSeguro 0.3.2 no Virtuemart 2.0 - Alguém já fez isto???
Galera aonde eu posto estes arquivos do sedex no meu diretório de arquivos?

Please Entrar ou Registrar to join the conversation.

Mais
13 anos 5 meses atrás #71945 por 240799
240799 replied the topic: Re: PagSeguro 0.3.2 no Virtuemart 2.0 - Alguém já fez isto???

geovany escreveu: Olá luizwbr, não sei se o problema é com os PLUGINS ou erro do virtuemart, mas continua aparecendo a seguinte mensagem ao finalizar a compra:

VmError: The workflow for or P is unknown, take a look on model/orders function handleStockAfterStatusChanged

Estou usando Virtuemart 2.0.6 Joomla 2.5.4

Sucessos, Geovany

luizwbr escreveu: Daí pessoal, o erro desapareceu pra vocês?

Qualquer coisa postem as dúvidas aqui <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Chocado" /><!-- s:shock: -->


Eu também estava com este mesmo problema. Tenho conhecimentos precários em PHP, Joomla e Virtuemart, mas fiz o seguinte:

no arquivo pagseguro.php troquei a linha 220: "return $this->processConfirmedOrderPaymentResponse(1, $cart, $order, $html,$novo_status);" , por esta:"return $this->processConfirmedOrderPaymentResponse(1, $cart, $order, $html, $payment_name, $new_status = $method->status_aguardando);", e retirei a linha 219.

Aparentemente deu certo, o erro não apareceu mais. Acho que era a falta da variável $payment_name na função.

Please Entrar ou Registrar to join the conversation.

Mais
13 anos 5 meses atrás #71954 por luizwbr
luizwbr replied the topic: Re: PagSeguro 0.3.2 no Virtuemart 2.0 - Alguém já fez isto???

240799 escreveu: unção.


Legal, colaborar é pra isso mesmo!

Obrigado pela correção, já testei, mas na verdade o que eu consegui simular com 100% de sucesso foi o seguinte:
return $this->processConfirmedOrderPaymentResponse(2, $cart, $order, $html, $dbValues&#91;'payment_name'&#93;, '');

Já atualizei o plugin novamente, basta baixar no site:

http://loja.weber.eti.br/downloads-gratis/file/17-pagseguro-virtuemart-20.html

[b:3ah8ktjp]Luiz F. Weber[/b:3ah8ktjp]
[url:3ah8ktjp]http://weber.eti.br[/url:3ah8ktjp] - blog Virtuemart
[url:3ah8ktjp]http://loja.weber.eti.br[/url:3ah8ktjp] - plugins VM
[url:3ah8ktjp]http://webgenium.com.br[/url:3ah8ktjp] - trabalho

Please Entrar ou Registrar to join the conversation.