You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用Getnet测试卖家借记卡支付报错“Seller not enrolled”求助

Troubleshooting "Seller not enrolled" Error with Getnet Sandbox Debit Payment

Hey there, I’ve dealt with a few similar issues while working with Getnet’s homologacao environment, so let me walk you through some actionable steps to fix this "Seller not enrolled" error:

  • Verify your sandbox seller account enrollment
    Getnet’s test environment requires sellers to explicitly enable debit card payment functionality during account setup. Log into your homologacao merchant dashboard and check if debit payments are activated for your account. If not, you’ll need to complete any required verification steps or reach out to their support team to enable this permission.

  • Double-check your Seller ID and tokens
    Make sure the data-getnet-sellerid value corresponds to your sandbox-specific seller ID (not a production one). Similarly, confirm that both data-getnet-token and the OAuth token in data-getnet-gn3ds-merchant-backend-token-oauth are generated for the homologacao environment—expired or mismatched tokens often trigger enrollment-related errors. Try regenerating fresh test tokens and see if that resolves the issue.

  • Fix missing or invalid parameters
    Your data-getnet-url-callback is currently empty, which might be causing validation issues. Even in sandbox mode, Getnet expects a valid callback URL (you can use a placeholder like https://your-test-domain.com/payment-callback for testing). Also, double-check that all customer and address parameters are correctly formatted (no missing fields, properly sanitized values with special characters removed).

  • Simplify 3DS-related configurations
    While you’ve set data-getnet-gn3ds="false", some sandbox rules might still enforce certain 3DS parameters. Try temporarily removing non-essential 3DS attributes (like shipping method or framework modal) to rule out configuration conflicts. Ensure data-getnet-gn3ds-environment="SDB" is correctly set, as this specifies the sandbox environment.

  • Reach out to Getnet’s sandbox support
    If all the above steps don’t work, the issue is likely tied to your account’s backend configuration. Getnet’s support team can directly check your seller account status in their sandbox system, verify if there are any pending enrollments or restrictions, and guide you through resolving it.

Here’s your provided ScriptTag code formatted for clarity:

import ScriptTag from "react-script-tag";

<ScriptTag 
  async 
  src="https://checkout-homologacao.getnet.com.br/loader.js" 
  data-getnet-sellerid={payment.sellerId} 
  data-getnet-token={payment.token} 
  data-getnet-amount={formatMoney(maskAmount)} 
  data-getnet-customerid={payment.customer.id} 
  data-getnet-orderid={payment.orderId} 
  data-getnet-button-class="open-checkout" 
  data-getnet-customer-first-name={payment.customer.firstName} 
  data-getnet-customer-last-name={payment.customer.lastName} 
  data-getnet-customer-document-type={payment.customer.documentType} 
  data-getnet-customer-document-number={removeSpecialChar(payment.customer.documentNumber)} 
  data-getnet-customer-email={payment.customer.email} 
  data-getnet-customer-phone-number={removeSpecialChar(payment.customer.phoneNumber)} 
  data-getnet-customer-address-street={payment.address.street} 
  data-getnet-customer-address-street-number={payment.address.number} 
  data-getnet-customer-address-complementary={payment.address.complementary} 
  data-getnet-customer-address-neighborhood={payment.address.neighborhood} 
  data-getnet-customer-address-city={payment.address.city} 
  data-getnet-customer-address-state={payment.address.state} 
  data-getnet-customer-address-zipcode={removeSpecialChar(payment.address.zipcode)} 
  data-getnet-customer-country={payment.address.country} 
  data-getnet-items={payment.items} 
  data-getnet-url-callback="" 
  data-getnet-installments="4" 
  data-getnet-gn3ds="false" 
  data-getnet-gn3ds-currency="BRL" 
  data-getnet-gn3ds-merchant-backend-url="https://api-homologacao.getnet.com.br/v2/hubbff/3ds/" 
  data-getnet-gn3ds-token-type="oauth" 
  data-getnet-gn3ds-merchant-backend-token-oauth={`bearer ${token.access_token}`} 
  data-getnet-gn3ds-environment="SDB" 
  data-getnet-gn3ds-shipping-method="lowcost" 
  data-getnet-gn3ds-framework-modal="bootstrap3" 
  data-getnet-gn3ds-shipping-destination-code="01" 
/>

内容的提问来源于stack exchange,提问作者Gatão

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.09 21:37:51