#mymo-customer-update

1 messages ยท Page 1 of 1 (latest)

sweet crescent
#

Hi there ๐Ÿ‘‹ taking a look

#

Hm, is your try/catch catching an error? I'm struggling to find the update requests on our end and am wondering if there is something keeping the update requests from being called.

mild marlin
#

No error catched, the try is all running ok except this part ...

#

No error in console or stripe either

#

๐Ÿ˜ฆ

sweet crescent
#

Nothing is jumping out at me as obvious, and I copied the top part of your code and it worked (slight difference as I wasn't using a connected account).

mild marlin
#

Could the use of a connected account be the issue? (I guess not, but since it's the only difference..)

sweet crescent
#

No, just revised my test to use a connected account and that worked fine also.

#

Just to make sure we aren't overlooking something simple, within the code you're executing you actually have your secret test key populated instead of sk_test_...? I assume it was redacted before posting here for security reasons, but just want to make sure.

mild marlin
#

Exactly ๐Ÿ™‚ , I just modified it to post it here

sweet crescent
#

And what version of our PHP library are you using?

mild marlin
#

7.3.11

#

oh, you mean yours!

#

7.97.0

sweet crescent
#

Hm, I'm not seeing anything in the newer versions that would affect this. It's really odd that we aren't seeing a request log, nor an error locally. I can't think of any scenario where that would be encountered. This leads me to believe that either that update function is being executed, or it's returning an error that's being caught.

mild marlin
#

But since I still see the customer not being updated in the stripe account and don't get any error anywhere... I really don't know what to do :/

flint shuttle
#

Can you add code to see your request ID after making that call and see what it says?

#

In fact, if you catch the result of that update call as a variable in general, what does it say?

mild marlin
#

So far, I don't seem to be able to see or catch anything... still working on it

sweet crescent
#

I also like to put print statements before and after the code I'm worried about to ensure it's being executed.