<p>Are you sure all environments are identical? (Same templates, versions, plugins, configs, etc.)</p>

<p>Best way is to check your craft.log file and turn on devMode so you can get a proper dump as to what's causing your problem.</p>

CC BY-SA 3.0
2016-02-23T14:31:57.917Z
2016-02-23T14:31:57.917Z
RitterKnight
<p>I'm trying to accept Stripe payments and am stuck in a loop where I have optimal behavior on the dev and staging versions, but then things broke in production and got the following error message:</p>

<p>Craft\Commerce_OrderModel and its behaviors do not have a method or closure named 'firstName' </p>

<p>Can someone give me some direction around this? Again, it only happens in production, and obviously, we need to be able to receive payment from customers. Thanks!</p>

<error-message>
Stripe: Craft Commerce_OrderModel and its behaviors do not have a method or closure ....
# Stripe: Craft Commerce_OrderModel and its behaviors do not have a method or closure ....

(Asked by: username_0 on 2016-02-23)

I'm trying to accept Stripe payments and am stuck in a loop where I have optimal behavior on the dev and staging versions, but then things broke in production and got the following error message:

Craft\Commerce\_OrderModel and its behaviors do not have a method or closure named 'firstName'

Can someone give me some direction around this? Again, it only happens in production, and obviously, we need to be able to receive payment from customers. Thanks!

**Tags:** error-message


---

## 1 answers

### Answer by username_1 on 2016-02-23. Score: 1

Are you sure all environments are identical? (Same templates, versions, plugins, configs, etc.)

Best way is to check your craft.log file and turn on devMode so you can get a proper dump as to what's causing your problem.


---

