#mymo-customer-update
1 messages ยท Page 1 of 1 (latest)
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.
No error catched, the try is all running ok except this part ...
No error in console or stripe either
๐ฆ
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).
Could the use of a connected account be the issue? (I guess not, but since it's the only difference..)
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.
Exactly ๐ , I just modified it to post it here
And what version of our PHP library are you using?
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.
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 :/
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?
So far, I don't seem to be able to see or catch anything... still working on it
I also like to put print statements before and after the code I'm worried about to ensure it's being executed.