#sam_webhooks
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1312061805044170772
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! any more context?
That API request doesn't work because you can't set a pm_xxx PaymentMethod to the legacy default_source parameter.
Time
29/11/2024, 13:53:26
IP address
78.110.161.74
API Version
2019-09-09
Source
WooCommerce Stripe Gateway/7.9.0 (https://woocommerce.com/products/stripe/)
Related
customer โ cus_RJ6q7xffIet2oa
Idempotency
Key โ 06b08361-ec01-458b-8d85-f26c39d2c6d0
resource_missing - source
No such source: 'pm_1QQUcaBZCyuBaqTDHQbQuzTR'
Was this useful?
Yes
No
{
"default_source": "pm_1QQUcaBZCyuBaqTDHQbQuzTR"
}
Request POST body
{
"default_source": "pm_1QQUcaBZCyuBaqTDHQbQuzTR"
}
Request query parameters
No query parameters
Response body
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such source: 'pm_1QQUcaBZCyuBaqTDHQbQuzTR'",
"param": "source",
"request_log_url": "https://dashboard.stripe.com/logs/req_npWvnNzjAPpggE?t=1732888406",
"type": "invalid_request_error"
}
}
this is the full error, in woocommeerce my payments are being received however they are not showing as successful in the backend of the site or to the customer
so as I said, that API request doesn't work because you can't set a pm_xxx PaymentMethod to the legacy default_source parameter. If you're the developer of the code that's making that API request, the fact you're trying to pass that value to that param is a bug you need to fix.
i am not actually using any custom code it is a woocommerce stripe gateway plugin that i am using
then you should reach out to the support for that plugin
support won't help i just don't know what is happening. the plugin worked fine on the old site, i have migrated onto a new site on the same domain name and these issues have then started.
does it matter that i took a backup of the old site and have stripe live mode still enabled on that site aswell?
i am also getting error
payment_intent_unexpected_state - payment_method
This PaymentIntent's payment_method could not be updated because it has a status of succeeded. You may only update the payment_method of a PaymentIntent with one of the following statuses: requires_payment_method, requires_confirmation, requires_action.
Was this useful?
Yes
No
{
"payment_method": "pm_1QQVOaBZCyuBaqTDcRqxLcTU",
"payment_method_types": {
"0": "card"
}
}
does it matter that i took a backup of the old site and have stripe live mode still enabled on that site aswell?
I have no idea, I know absolutely nothing about Woocommerce
do any of your collegues?
I'm really sorry but I can't help you, I work with developers building bespoke integrations with our APIs/SDKs, for an issue in a Woocommerce plugin you need to reach out to the support channels for that plugin.