No fund deducted after “Sucessful” Callback

Solved! Go to solution

No fund deducted after “Sucessful” Callback

Hi everyone, thank you for reading this. 


I have been trying to setup a payment gateway for our e-commerce platform, and this is a little issue i have ran into. All the code I have written are based on this doc:


This is what we have done so far:


1. We generated and used our APIkey on

2. We are using a demo HTML to test all the codes

3. Here is the code we wrote specifically for payment:



  <script type="text/javascript">
    function onVisaCheckoutReady() {
        apikey: "****************************",
        sourceId: "Merchant Defined Source ID",
        settings: {
          locale: "en_US",
          countryCode: "US",
          displayName: "...Corp",
          logoUrl: "www.Some_Image_URL.gif",
          // customerSupportUrl: "",
          // shipping: {
          //   acceptedRegions: ["US", "CA"],
          //   collectShipping: "true"
          // },
          payment: {
            cardBrands: [
            acceptCanadianVisaDebit: "true"
          review: {
            message: "Merchant defined message",
            buttonAction: "Pay"
          dataLevel: "SUMMARY"
        paymentRequest: {
          merchantRequestId: "Merchant defined request ID",
          currencyCode: "USD",
          subtotal: "1.10",
          // shippingHandling: "2.00",
          // tax: "2.00",
          // discount: "1.00",
          // giftWrap: "2.00",
          // misc: "1.00",
          total: "1.10",
          description: "Megacorp Product",
          orderId: "1111",
          promoCode: "Merchant defined promo code",
          customData: {
            "nvPair": [
              { "name": "customName1", "value": "customValue1" },
              { "name": "customName2", "value": "customValue2" }

      V.on("payment.success", function(payment) {
        console.log('payment.success: ' + JSON.stringify(payment));
        alert('payment.success: ' + JSON.stringify(payment));
      V.on("payment.cancel", function(payment) {
        console.log('payment.cancel: ' + JSON.stringify(payment));
        alert('payment.cancel: ' + JSON.stringify(payment));
      V.on("payment.error", function(payment, error) {
        console.log('payment.error: ' + JSON.stringify(error));
        alert('payment.error: ' + JSON.stringify(error));

  <!-- <img alt="Visa Checkout" class="v-button" role="button"
  <img alt="Visa Checkout" class="v-button" role="button" src="

  <script type="text/javascript" src="">
  // <script type="text/javascript"
  //   src="">




4. We have tested with a USA based Visa card, and the callback resulted in "Sucessful"


<?xml version="1.0" encoding="utf-8"?><decryptPaymentDataResponse xmlns:xsi="" xmlns:xsd="" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><messages><resultCode>Ok</resultCode><message><code>I00001</code><text>Successful.</text></message></messages><shippingInfo><firstName>Qiaer</firstName><lastName>***</lastName><address>******</address><city>***</city><state>***</state><zip>***</zip><country>US</country></shippingInfo><billingInfo><firstName>*****</firstName><lastName>****</lastName><address>*****</address><city>Irvine</city><state>****</state><zip>***</zip><country>US</country><email>*****************</email></billingInfo><cardInfo><expirationDate>*********</expirationDate><cardArt><cardBrand>VISA</cardBrand><cardImageHeight>210</cardImageHeight><cardImageUrl></cardImageUrl><cardImageWidth>334</cardImageWidth><cardType>DEBIT</cardType></cardArt></cardInfo><paymentDetails><currency>USD</currency><promoCode>Merchant defined promo code</promoCode><subTotal>1.10</subTotal><orderID>1111</orderID><amount>1.10</amount></paymentDetails></decryptPaymentDataResponse>



Now our issue is this:


After receiving an "successful" callback from either authorize or Visa (we are not sure either), no payment was made on the test card, and no money was deducted on the said card. 


We are a bit lost as of why this is happening. We are eager to see your replies! Thank you.







Visa Developer Support Specialist
Visa Developer Support Specialist

Re: No fund deducted after “Sucessful” Callback

Hi @104gogo,


This integration guide ( is from 2014. The newer Visa Checkout documentation can be accessed on Visa Developer here.


Please note that the Visa Checkout team does not accept direct merchant. Hence, you will need to work with a partner in order to integrate Visa Checkout into your project. 


Here you can find the list of Partners to integrate with Visa Checkout:  








Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.