# Business Verified Customer drop in component calling the wrong endpoint

**URL:** <https://discuss.dwolla.com/t/business-verified-customer-drop-in-component-calling-the-wrong-endpoint/7821>\
**Category:** General\
**Created:** [February 11, 2022, 3:10am UTC](https://discuss.dwolla.com/t/business-verified-customer-drop-in-component-calling-the-wrong-endpoint/7821 "2022-02-11T03:10:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Teddy\_Coleman](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/teddy_coleman/32/2942_2.png) [@Teddy\_Coleman](https://discuss.dwolla.com/u/Teddy_Coleman)\
**Post date:** [February 11, 2022, 3:10am UTC](https://discuss.dwolla.com/t/business-verified-customer-drop-in-component-calling-the-wrong-endpoint/7821/1 "2022-02-11T03:10:59Z")

</div>

I successfully tested the flow end to end for using the drop in component for a business verified customer when using a sandbox account. I recently got approved, however, when I try to test it using my production keys and setting the Dwolla env to `prod`, it is failing to get data from the `business-classifications` endpoint.

When using the sandbox credentials and setting the Dwolla env to `sandbox`, the drop in component correctly calls the right end point `https://api-sandbox.dwolla.com/business-classifications`. However, when using the production credentials and setting the Dwolla env to `prod`, it’s instead attempting to call my localhost (see screenshot below).

Am I missing something that I need to configure for the drop in component? Literally the only difference in my code is setting the env from `sandbox` → `prod` when calling `dwolla.configure`. Thanks in advance for taking a look.

 ![image](https://global.discourse-cdn.com/dwolla/original/2X/6/6612ce155f69f9ce0101b8a65da2bff851e11c64.jpeg)

---

<div class="post-metadata">

**Author:** ![shreya](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/shreya/32/2154_2.png) [@shreya](https://discuss.dwolla.com/u/shreya)\
**Post date:** [February 11, 2022, 4:52pm UTC](https://discuss.dwolla.com/t/business-verified-customer-drop-in-component-calling-the-wrong-endpoint/7821/2 "2022-02-11T16:52:39Z")

</div>

Hi @Teddy_Coleman! Would you be able to share the confirmation step of your implementation? Also, if you change dwolla-web.js version to v2.1.8 from v2 when including the CDN script, does that make any difference?

Let us know when you get a chance!

---

<div class="post-metadata">

**Author:** ![Teddy\_Coleman](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/teddy_coleman/32/2942_2.png) [@Teddy\_Coleman](https://discuss.dwolla.com/u/Teddy_Coleman)\
**Post date:** [February 11, 2022, 6:44pm UTC](https://discuss.dwolla.com/t/business-verified-customer-drop-in-component-calling-the-wrong-endpoint/7821/3 "2022-02-11T18:44:05Z")

</div>

@shreya yes, bumping from v2 → v2.1.8 did the trick. Thank you for the quick response!
