You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var instance = Conekta();
instance.setBearerAuth("bearerAuth", "key");
// final privatekey = sl().getConektaPrivateKey();
// instance.dio.options.baseUrl = 'https://api.conekta.io/token';
final api = instance.getTokensApi();
final tokenCard = TokenCard((c)=>c
..name = request.name
..number = request.cardNumber
..cvc = request.cvc
..expMonth = request.expMonth
..expYear = request.expYear);
try {
var token = Token((b) => b..card.replace(tokenCard));
final response = await api.createToken(token: token,acceptLanguage: 'es');
}
error:
"details": [
{
"debug_message": "We can only process data from cards that have been properly tokenized or that come from a site that meets PCI compliance. If your site meets the standards , send a copy of your certificate and PCI contacto@conekta attribute io requests access.",
"message": "Solamente podemos procesar datos de tarjetas que han sido tokenizadas o que provengan de sitios seguros que cumplan los estándares de PCI.",
"param": null,
"code": "conekta.errors.authentication.tokenization.no_js_agent"
}
The text was updated successfully, but these errors were encountered:
var instance = Conekta();
instance.setBearerAuth("bearerAuth", "key");
// final privatekey = sl().getConektaPrivateKey();
// instance.dio.options.baseUrl = 'https://api.conekta.io/token';
final api = instance.getTokensApi();
final tokenCard = TokenCard((c)=>c
..name = request.name
..number = request.cardNumber
..cvc = request.cvc
..expMonth = request.expMonth
..expYear = request.expYear);
try {
var token = Token((b) => b..card.replace(tokenCard));
final response = await api.createToken(token: token,acceptLanguage: 'es');
}
error:
"details": [
{
"debug_message": "We can only process data from cards that have been properly tokenized or that come from a site that meets PCI compliance. If your site meets the standards , send a copy of your certificate and PCI contacto@conekta attribute io requests access.",
"message": "Solamente podemos procesar datos de tarjetas que han sido tokenizadas o que provengan de sitios seguros que cumplan los estándares de PCI.",
"param": null,
"code": "conekta.errors.authentication.tokenization.no_js_agent"
}
The text was updated successfully, but these errors were encountered: