Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnePageCheckout calculando em duplicidade no meio do checkout. #7

Open
InsomniumBR opened this issue Feb 25, 2021 · 0 comments
Open

Comments

@InsomniumBR
Copy link

InsomniumBR commented Feb 25, 2021

Olá,

Instalei o módulo da Frenet e configurei o mesmo.
Magento: 1.9.3.7
PHP: 5.5.27
Módulo Frenet: 1.1.3

Estou tendo o seguinte comportamento:

  1. Adiciono um produto no carrinho com quantidade 10.

  2. Vou para o checkout (onepage) no meio do Checkout ele calcula como se a quantidade fosse 20.
    image

  3. No final do Checkout é utilizado o valor da quantidade 10.
    image

Logs do problema:

[2020-10-10 02:15:17] frenet_log.DEBUG: {"request":{"json":{"SellerCEP":"06473000","RecipientCEP":"06473000","RecipientCountry":"BR","ShipmentInvoiceValue":500,"ShippingItemArray":[{"SKU":"PACOTEP11352-5PLACAS","Weight":0.05,"Length":16,"Height":2,"Width":11,"Quantity":10,"Category":"Placas de Identifica\u00e7\u00e3o|Anodizadas Lisas|Medalha Grande","isFragile":false}]},"headers":[]},"result":{"ShippingSevicesArray":[{"ServiceCode":"ISP_1_4527","ServiceDescription":"Retirar em m\u00e3os|no CAP\u00c3O REDONDO - S\u00e3o Paulo\/SP - CEP: 04915-010|das 09:00 \u00e0s 17:00 ","Carrier":"Retirada na Loja","CarrierCode":"ISP","ShippingPrice":"0.00","DeliveryTime":"0","Error":false,"OriginalDeliveryTime":"0","OriginalShippingPrice":"0.00","ResponseTime":"9.3293","Pickup":{"PCD":false,"FederalDocument":"","LocalDocument":"","Parking":false,"LocalInfo":"Retirar em m\u00e3os|no CAP\u00c3O REDONDO - S\u00e3o Paulo\/SP - CEP: 04915-010|das 09:00 \u00e0s 17:00 ","Address":{"Street":"no CAP\u00c3O REDONDO - S\u00e3o Paulo\/SP - CEP: 04915-010","Country":"BR","Latitude":0,"Longitude":0},"Monday":{"Day":"segunda","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Tuesday":{"Day":"terca","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Wednesday":{"Day":"quarta","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Thursday":{"Day":"quinta","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Friday":{"Day":"sexta","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Saturday":{"Day":"sabado","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Sunday":{"Day":"domingo","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Code":"","Type":"","Name":"Retirar em m\u00e3os","Sponsor":""},"AllowBuyLabel":false},{"ServiceCode":"03220","ServiceDescription":"Sedex","Carrier":"Correios","CarrierCode":"COR","ShippingPrice":"14.87","DeliveryTime":"6","Error":false,"OriginalDeliveryTime":"6","OriginalShippingPrice":"11.36862000000","ResponseTime":"31.3456","AllowBuyLabel":true},{"ServiceCode":"BRAS_R","ServiceDescription":"Braspress Rodovi\u00e1rio","Carrier":"Braspress","CarrierCode":"BRAS","ShippingPrice":"78.61","DeliveryTime":"2","Error":false,"OriginalDeliveryTime":"2","OriginalShippingPrice":"78.61","ResponseTime":"795.0878","AllowBuyLabel":false},{"ServiceCode":"BRAS_A","ServiceDescription":"Braspress A\u00e9reo","Carrier":"Braspress","CarrierCode":"BRAS","ShippingPrice":"104.32","DeliveryTime":"1","Error":false,"OriginalDeliveryTime":"1","OriginalShippingPrice":"104.32","ResponseTime":"578.7713","AllowBuyLabel":false},{"ServiceCode":"03298","ServiceDescription":"PAC","Carrier":"Correios","CarrierCode":"COR","Msg":"N\u00e3o foi encontrada precifica\u00e7\u00e3o. ERP-007: CEP de origem nao pode postar para o CEP de destino informado(-1).","Error":true,"ResponseTime":"421.154","AllowBuyLabel":true},{"ServiceCode":"40215","ServiceDescription":"Sedex 10","Carrier":"Correios","CarrierCode":"COR","Msg":"N\u00e3o foi encontrada precifica\u00e7\u00e3o. ERP-006: CEP de origem nao pode postar para CEP de destino(-1).","Error":true,"ResponseTime":"443.3185","AllowBuyLabel":false}],"Timeout":0}} [] []
[2020-10-10 02:15:17] frenet_log.DEBUG: {"request":{"json":{"SellerCEP":"06473000","RecipientCEP":"06473000","RecipientCountry":"BR","ShipmentInvoiceValue":1000,"ShippingItemArray":[{"SKU":"PACOTEP11352-5PLACAS","Weight":0.05,"Length":16,"Height":2,"Width":11,"Quantity":20,"Category":"Placas de Identifica\u00e7\u00e3o|Anodizadas Lisas|Medalha Grande","isFragile":false}]},"headers":[]},"result":{"ShippingSevicesArray":[{"ServiceCode":"ISP_1_4527","ServiceDescription":"Retirar em m\u00e3os|no CAP\u00c3O REDONDO - S\u00e3o Paulo\/SP - CEP: 04915-010|das 09:00 \u00e0s 17:00 ","Carrier":"Retirada na Loja","CarrierCode":"ISP","ShippingPrice":"0.00","DeliveryTime":"0","Error":false,"OriginalDeliveryTime":"0","OriginalShippingPrice":"0.00","ResponseTime":"14.7437","Pickup":{"PCD":false,"FederalDocument":"","LocalDocument":"","Parking":false,"LocalInfo":"Retirar em m\u00e3os|no CAP\u00c3O REDONDO - S\u00e3o Paulo\/SP - CEP: 04915-010|das 09:00 \u00e0s 17:00 ","Address":{"Street":"no CAP\u00c3O REDONDO - S\u00e3o Paulo\/SP - CEP: 04915-010","Country":"BR","Latitude":0,"Longitude":0},"Monday":{"Day":"segunda","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Tuesday":{"Day":"terca","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Wednesday":{"Day":"quarta","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Thursday":{"Day":"quinta","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Friday":{"Day":"sexta","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Saturday":{"Day":"sabado","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Sunday":{"Day":"domingo","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Code":"","Type":"","Name":"Retirar em m\u00e3os","Sponsor":""},"AllowBuyLabel":false},{"ServiceCode":"03220","ServiceDescription":"Sedex","Carrier":"Correios","CarrierCode":"COR","ShippingPrice":"15.68","DeliveryTime":"6","Error":false,"OriginalDeliveryTime":"6","OriginalShippingPrice":"12.17660000000","ResponseTime":"107.9023","AllowBuyLabel":true},{"ServiceCode":"BRAS_R","ServiceDescription":"Braspress Rodovi\u00e1rio","Carrier":"Braspress","CarrierCode":"BRAS","ShippingPrice":"81.22","DeliveryTime":"2","Error":false,"OriginalDeliveryTime":"2","OriginalShippingPrice":"81.22","ResponseTime":"564.3347","AllowBuyLabel":false},{"ServiceCode":"BRAS_A","ServiceDescription":"Braspress A\u00e9reo","Carrier":"Braspress","CarrierCode":"BRAS","ShippingPrice":"106.21","DeliveryTime":"1","Error":false,"OriginalDeliveryTime":"1","OriginalShippingPrice":"106.21","ResponseTime":"571.3221","AllowBuyLabel":false},{"ServiceCode":"40215","ServiceDescription":"Sedex 10","Carrier":"Correios","CarrierCode":"COR","Msg":"N\u00e3o foi encontrada precifica\u00e7\u00e3o. ERP-006: CEP de origem nao pode postar para CEP de destino(-1).","Error":true,"ResponseTime":"188.6846","AllowBuyLabel":false},{"ServiceCode":"03298","ServiceDescription":"PAC","Carrier":"Correios","CarrierCode":"COR","Msg":"N\u00e3o foi encontrada precifica\u00e7\u00e3o. ERP-007: CEP de origem nao pode postar para o CEP de destino informado(-1).","Error":true,"ResponseTime":"259.7208","AllowBuyLabel":true}],"Timeout":0}} [] []
[2020-10-10 02:15:17] frenet_log.DEBUG: {"request":{"json":{"SellerCEP":"06473000","RecipientCEP":"06473000","RecipientCountry":"BR","ShipmentInvoiceValue":1000,"ShippingItemArray":[{"SKU":"PACOTEP11352-5PLACAS","Weight":0.05,"Length":16,"Height":2,"Width":11,"Quantity":20,"Category":"Placas de Identifica\u00e7\u00e3o|Anodizadas Lisas|Medalha Grande","isFragile":false}]},"headers":[]},"result":{"ShippingSevicesArray":[{"ServiceCode":"ISP_1_4527","ServiceDescription":"Retirar em m\u00e3os|no CAP\u00c3O REDONDO - S\u00e3o Paulo\/SP - CEP: 04915-010|das 09:00 \u00e0s 17:00 ","Carrier":"Retirada na Loja","CarrierCode":"ISP","ShippingPrice":"0.00","DeliveryTime":"0","Error":false,"OriginalDeliveryTime":"0","OriginalShippingPrice":"0.00","ResponseTime":"14.7437","Pickup":{"PCD":false,"FederalDocument":"","LocalDocument":"","Parking":false,"LocalInfo":"Retirar em m\u00e3os|no CAP\u00c3O REDONDO - S\u00e3o Paulo\/SP - CEP: 04915-010|das 09:00 \u00e0s 17:00 ","Address":{"Street":"no CAP\u00c3O REDONDO - S\u00e3o Paulo\/SP - CEP: 04915-010","Country":"BR","Latitude":0,"Longitude":0},"Monday":{"Day":"segunda","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Tuesday":{"Day":"terca","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Wednesday":{"Day":"quarta","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Thursday":{"Day":"quinta","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Friday":{"Day":"sexta","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Saturday":{"Day":"sabado","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Sunday":{"Day":"domingo","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Code":"","Type":"","Name":"Retirar em m\u00e3os","Sponsor":""},"AllowBuyLabel":false},{"ServiceCode":"03220","ServiceDescription":"Sedex","Carrier":"Correios","CarrierCode":"COR","ShippingPrice":"15.68","DeliveryTime":"6","Error":false,"OriginalDeliveryTime":"6","OriginalShippingPrice":"12.17660000000","ResponseTime":"107.9023","AllowBuyLabel":true},{"ServiceCode":"BRAS_R","ServiceDescription":"Braspress Rodovi\u00e1rio","Carrier":"Braspress","CarrierCode":"BRAS","ShippingPrice":"81.22","DeliveryTime":"2","Error":false,"OriginalDeliveryTime":"2","OriginalShippingPrice":"81.22","ResponseTime":"564.3347","AllowBuyLabel":false},{"ServiceCode":"BRAS_A","ServiceDescription":"Braspress A\u00e9reo","Carrier":"Braspress","CarrierCode":"BRAS","ShippingPrice":"106.21","DeliveryTime":"1","Error":false,"OriginalDeliveryTime":"1","OriginalShippingPrice":"106.21","ResponseTime":"571.3221","AllowBuyLabel":false},{"ServiceCode":"40215","ServiceDescription":"Sedex 10","Carrier":"Correios","CarrierCode":"COR","Msg":"N\u00e3o foi encontrada precifica\u00e7\u00e3o. ERP-006: CEP de origem nao pode postar para CEP de destino(-1).","Error":true,"ResponseTime":"188.6846","AllowBuyLabel":false},{"ServiceCode":"03298","ServiceDescription":"PAC","Carrier":"Correios","CarrierCode":"COR","Msg":"N\u00e3o foi encontrada precifica\u00e7\u00e3o. ERP-007: CEP de origem nao pode postar para o CEP de destino informado(-1).","Error":true,"ResponseTime":"259.7208","AllowBuyLabel":true}],"Timeout":0}} [] []
[2020-10-10 02:15:21] frenet_log.DEBUG: {"request":{"json":{"SellerCEP":"06473000","RecipientCEP":"06473000","RecipientCountry":"BR","ShipmentInvoiceValue":500,"ShippingItemArray":[{"SKU":"PACOTEP11352-5PLACAS","Weight":0.05,"Length":16,"Height":2,"Width":11,"Quantity":10,"Category":"Placas de Identifica\u00e7\u00e3o|Anodizadas Lisas|Medalha Grande","isFragile":false}]},"headers":[]},"result":{"ShippingSevicesArray":[{"ServiceCode":"ISP_1_4527","ServiceDescription":"Retirar em m\u00e3os|no CAP\u00c3O REDONDO - S\u00e3o Paulo\/SP - CEP: 04915-010|das 09:00 \u00e0s 17:00 ","Carrier":"Retirada na Loja","CarrierCode":"ISP","ShippingPrice":"0.00","DeliveryTime":"0","Error":false,"OriginalDeliveryTime":"0","OriginalShippingPrice":"0.00","ResponseTime":"9.3293","Pickup":{"PCD":false,"FederalDocument":"","LocalDocument":"","Parking":false,"LocalInfo":"Retirar em m\u00e3os|no CAP\u00c3O REDONDO - S\u00e3o Paulo\/SP - CEP: 04915-010|das 09:00 \u00e0s 17:00 ","Address":{"Street":"no CAP\u00c3O REDONDO - S\u00e3o Paulo\/SP - CEP: 04915-010","Country":"BR","Latitude":0,"Longitude":0},"Monday":{"Day":"segunda","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Tuesday":{"Day":"terca","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Wednesday":{"Day":"quarta","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Thursday":{"Day":"quinta","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Friday":{"Day":"sexta","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Saturday":{"Day":"sabado","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Sunday":{"Day":"domingo","IsOpened":true,"TimeStart1":"09:00","TimeEnd1":"12:00","TimeStart2":"13:00","TimeEnd2":"18:00"},"Code":"","Type":"","Name":"Retirar em m\u00e3os","Sponsor":""},"AllowBuyLabel":false},{"ServiceCode":"03220","ServiceDescription":"Sedex","Carrier":"Correios","CarrierCode":"COR","ShippingPrice":"14.87","DeliveryTime":"6","Error":false,"OriginalDeliveryTime":"6","OriginalShippingPrice":"11.36862000000","ResponseTime":"31.3456","AllowBuyLabel":true},{"ServiceCode":"BRAS_R","ServiceDescription":"Braspress Rodovi\u00e1rio","Carrier":"Braspress","CarrierCode":"BRAS","ShippingPrice":"78.61","DeliveryTime":"2","Error":false,"OriginalDeliveryTime":"2","OriginalShippingPrice":"78.61","ResponseTime":"795.0878","AllowBuyLabel":false},{"ServiceCode":"BRAS_A","ServiceDescription":"Braspress A\u00e9reo","Carrier":"Braspress","CarrierCode":"BRAS","ShippingPrice":"104.32","DeliveryTime":"1","Error":false,"OriginalDeliveryTime":"1","OriginalShippingPrice":"104.32","ResponseTime":"578.7713","AllowBuyLabel":false},{"ServiceCode":"03298","ServiceDescription":"PAC","Carrier":"Correios","CarrierCode":"COR","Msg":"N\u00e3o foi encontrada precifica\u00e7\u00e3o. ERP-007: CEP de origem nao pode postar para o CEP de destino informado(-1).","Error":true,"ResponseTime":"421.154","AllowBuyLabel":true},{"ServiceCode":"40215","ServiceDescription":"Sedex 10","Carrier":"Correios","CarrierCode":"COR","Msg":"N\u00e3o foi encontrada precifica\u00e7\u00e3o. ERP-006: CEP de origem nao pode postar para CEP de destino(-1).","Error":true,"ResponseTime":"443.3185","AllowBuyLabel":false}],"Timeout":0}} [] []

Aguardo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant