Questions tagged as 'correios'

2
answers

Freight couriers error in pac and sedex

I would like your help in the following errors, the first one is in pac, it returns the value, so everything is fine, but it also brings:    Fatal error: Uncaught exception 'Exception' with message   'Serialization of' SimpleXMLElement 'is no...
asked by 19.10.2016 / 22:57
0
answers

Freight calculation [closed]

I'm trying to work out a freight system for a company but I have a problem. Thus, it follows: the freight itself is calculated by the Post system that access through an API ; I have already done everything on the Post Office website to p...
asked by 28.05.2015 / 05:20
2
answers

Display freight calculation on each WP product page

How do I get the freight calculation field to appear on the product presentation screen? Anyone know of a plugin that I can use or have an example ready?     
asked by 28.03.2017 / 22:48
1
answer

Freight calculation Post office + PHP

How are freight values calculated if a user selects more than one product from a virtual store? At the time of registering a product, we are giving the customer the option to place the length, height, width, diameter and weight per product. In P...
asked by 23.10.2017 / 15:25
2
answers

Web Service Test of Posts - SSL error

Someone else has had this problem by referencing the web service for tests and implementations of the post office. I need to do some validation but I can not execute any method without ssl errors.     
asked by 14.08.2015 / 21:00
1
answer

couriers freight gem

Hello, I'm using this calculation in the controller but when I put <%= @pac %> or <%= @sedex %> in the view is not showing the value, is someone having the same problem? grateful def calculate_ship frete = Correios...
asked by 19.03.2015 / 20:36
2
answers

How to mount a JSON structure?

I have the following JSON: { "status": true, "msg": "", "frete": [ { "Transportadora": "Correios", "Tempo": "16", "Msg": "", "Codigo": "04510", "Servico": "PAC", "Valor": "131.30" },...
asked by 30.05.2018 / 18:04
1
answer

Calculate total cart in php

I have a question I made a shopping cart and the freight calculation using the webservice of the post office. Now I need the freight to add up to the total amount but I can not. Could anyone help me? Cart code: foreach($_SESSION['car...
asked by 16.07.2015 / 22:12
2
answers

Modal ajax tracking mails

Is it possible to make a script that pulls the trace of some item on the post page? For example, within my site: link . There you have the link in the case for tracking PO117284423BR I would like to create a modal that when the link "PO117...
asked by 08.06.2017 / 16:20
1
answer

Get deadline with the Web Service of the Post Office

I'm trying to get the deadline dynamically using the Post Office WebService, so I'm using this documentation . If you enter the test page , you can enter the CAP, for example, 4510 and the source and destination ceps to get the retur...
asked by 13.08.2018 / 16:55