Questions tagged as 'cielo'

0
answers

I am performing an integration with sky api but I get an error message:

I'm doing an integration with api-cielo 3.0 but I'm getting an error message: application code package cieloecommerce.sdk.ecommerce; import java.io.IOException; import cieloecommerce.sdk.Merchant; import cieloecommerce.sdk.ecommerce.Sal...
asked by 14.08.2018 / 22:03
0
answers

The requested resource does not support http method

My code: var data = JSON.stringify(orderNo) options.path = "/1/sales?merchantOrderId=" + orderNo options.method = 'GET'; console.log(options) var req = https.request(options, function (res) {...
asked by 17.11.2017 / 13:04
0
answers

Request for Cielo with node.js

You are giving the following error code: TypeError: First argument must be a string or Buffer My code looks like this: request: function (dataJson, callback) { var options = { hostname: 'apisandbox.cieloecomme...
asked by 06.11.2017 / 17:08
1
answer

How do I read and store the response data from an API?

I got the answer from API from CIELO below, now I'd like to understand how to read and store values. If someone can help me with what key information should I store in the database?    object(stdClass)#2 (3) { ["MerchantOr...
asked by 27.02.2017 / 19:00
2
answers

Request in Cielo API in PHP using cURL

I'm trying to do a REQUEST of the form below, I'm not getting: public function subscribe(){ $json_url = 'https://apisandbox.cieloecommerce.cielo.com.br/1/sales/'; $json_string = json_encode(array( "MerchantOrderId"=>"201411...
asked by 22.02.2017 / 14:18
1
answer

Error api sky: No HTTP resource was found that match the request

In a test in heaven's father I get the message: URI ' link ' {"Message":"No HTTP resource was found that matches the request URI 'https://apiquerysandbox.cieloecommerce.cielo.com.br/1/sales/'."} I'm sending in jman postman: { "Merch...
asked by 20.08.2018 / 16:35
1
answer

Error when testing sky sandbox

When accessing urls link {PaymentId} when replacing PaymentId by a value: 1 (random value) I get this message: "Message": "The requested resource does not support the 'POST' method."     
asked by 16.08.2018 / 21:50
1
answer

Api Cielo: Error creating a purchase

When I send a request simulating a purchase: URL link Json { "MerchantOrderId":"2014111703", "Customer":{ "Name":"Comprador crédito simples" }, "Payment":{ "Type":"CreditCard", "Amount":15700, "Inst...
asked by 20.08.2018 / 17:07