tag:support.getcheddar.com,2009-06-01:/discussions/problems/9470-unexpected-error-trying-to-process-first-transactionCheddar: Discussion 2018-04-11T16:07:28Ztag:support.getcheddar.com,2009-06-01:Comment/436791562017-10-06T03:02:39Z2017-10-06T03:02:39ZUnexpected Error Trying to PRocess first transaction<div><p>We tried to launch our product with your gateway (vs STripe since that didn't work) and when we tried to process our first card, we got an 'unexpected error'. What is the problem?</p>
<p>I have tried to finish filling out the info like 4x to finish adding the info and each time it saves it, but when I come back it's gone.</p>
<p><a href="https://i.imgur.com/J9wgaYR.png">https://i.imgur.com/J9wgaYR.png</a></p></div>Chimp Commandertag:support.getcheddar.com,2009-06-01:Comment/436791562017-10-06T03:11:23Z2017-10-06T03:11:23ZUnexpected Error Trying to PRocess first transaction<div><p>In the error logs for Cheddargetter, even though I've entered our bank account info correctly, your system keeps showing it's empty.</p>
<p>Code 412 bank_account[account_number]:isEmpty</p></div>Chimp Commandertag:support.getcheddar.com,2009-06-01:Comment/436791562017-10-06T03:58:51Z2017-10-06T03:58:51ZUnexpected Error Trying to PRocess first transaction<div><p>Hey Chimp Commander team,</p>
<p>Sorry you're having trouble! On your first question about the flash message that says you still need give us some additional information, it's being incorrectly displayed. It should only display if you haven't filled out the disbursement form, but right now it's displaying to everyone regardless of whether or not they've completed the form. If you've completed the bank disbursement form, you don't need to go back in and re-submit the data. I took a look at your account and the form appears to be filled out correctly, so for the time being, ignore the flash message. We'll work on fixing it that so it stops displaying after you've successfully filled out the form.</p>
<p>On the 412 error, it sounds like you've double checked your bank info and everything is correct, so we'll check in with our payment processing team to make sure everything is configured properly on our end. I'll get back to you with more information as soon as I hear from them. Also, I haven't forgotten about your Stripe question! We've been doing some research today and should have something to share with you tomorrow morning.</p>
<p>Meghan</p>
<p>Meghan</p></div>Meghan Turnertag:support.getcheddar.com,2009-06-01:Comment/436791562017-10-06T05:19:31Z2017-10-06T05:19:31ZUnexpected Error Trying to PRocess first transaction<div><p>So can you please tell me why the charge didn't go through? THe error on your side isn't detailed, but are you saying the charge didn't go through because of the 412 error? This is sorta holding up the launch of Chimp Commander.</p></div>Chimp Commandertag:support.getcheddar.com,2009-06-01:Comment/436791562017-10-06T14:24:12Z2017-10-06T14:24:12ZUnexpected Error Trying to PRocess first transaction<div><p>Hey There,</p>
<p>I checked our logs and it looks like there's an issue with the information you're passing us with the create new customer API call that may be preventing the transaction from going through. The gateway is throwing an error that says you have an invalid country code format. This could either mean you're not passing in a country code at all, which is a required param with our built in payment processor, or you're not using the correct format (<a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO Alpha 2</a> or <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3">Alpha 3</a> are required).</p>
<p>Try passing in a country code with the <a href="http://docs.getcheddar.com/#create-a-new-customer">create new customer call</a> (use the <code>ccCountry</code> param) with the correct formatting and let me know how that goes.</p>
<p>Meghan</p></div>Meghan Turnertag:support.getcheddar.com,2009-06-01:Comment/436791562017-10-06T14:39:33Z2017-10-06T14:39:33ZUnexpected Error Trying to PRocess first transaction<div><p>Meghan,</p>
<p>Your documentation doesn't state that the address is new.</p>
<p>Based on what you're saying above, I'm assuming this due to your CC gateway processor? If so, can you confirm we only need to pass country code? We'd prefer not to ask for every field for conversion reasons.</p>
<p>Robert</p></div>Chimp Commandertag:support.getcheddar.com,2009-06-01:Comment/436791562017-10-06T15:57:29Z2017-10-06T15:57:29ZUnexpected Error Trying to PRocess first transaction<div><p>Hi Robert,</p>
<blockquote>
<p>Your documentation doesn't state that the address is new.</p>
</blockquote>
<p>Good catch, we do need to update our docs to say that the <code>ccCountry</code> param is conditionally required.</p>
<blockquote>
<p>I'm assuming this due to your CC gateway processor? If so, can you confirm we only need to pass country code? We'd prefer not to ask for every field for conversion reasons.</p>
</blockquote>
<p>Correct, this is a requirement of our new built in payment processor. The <code>ccCountry</code> param is the only additional required param and it's only required if a payment method is being provided in the API call. If you're subscribing a customer to a plan without providing a payment method, the <code>ccCountry</code> param isn't required. The docs are correct on everything else. None of the other address fields (address, city, state, zip) are required.</p>
<p>Meghan</p></div>Meghan Turnertag:support.getcheddar.com,2009-06-01:Comment/436791562017-10-06T20:47:05Z2017-10-06T20:47:05ZUnexpected Error Trying to PRocess first transaction<div><p>Meghan,</p>
<p>We were able to get Stripe hooked up (using non-tokenized) and process a transaction (though for some reason the promo code didn't get applied so I was charged the full $249 instead of $2.50). I will find out if that's an error on our end.</p></div>Chimp Commandertag:support.getcheddar.com,2009-06-01:Comment/436791562017-10-25T15:57:53Z2017-10-25T15:57:53ZUnexpected Error Trying to PRocess first transaction<div><p>Hi Robert,</p>
<p>Just checking in to see how things are going with your Cheddar product. I took a look at your product account today and it appears you've been able to successfully process transactions with Stripe, but let me know if you if you have any questions or concerns.</p>
<p>Also, we've begun the process of evaluating our Stripe integration to determine how to make the updates necessary to use Stripe.js. We won't retire our current integration for quite some time, so our current customers can continue to process transactions without making any changes to their application or Cheddar product, but we hope to be able to offer the new method as an alternative option soon. We're still in the early stages of this project, but I'll keep you updated on our progress.</p>
<p>Meghan</p></div>Meghan Turner