in reply to HTTP::Tiny losing headers for Stripe
I would output the arguments to the second post_form call just before it occurs. It may be that something behind the scenes has messed with $headers for example, since it is a reference.
Without the first call, the second call to Stripe gives an error because I haven't got the parameters right. But it doesn't complain about there not not being an API key
I would also try to fix this first. This problem may be masking others and resulting in the odd response you currently see. Once you can make the second call in isolation without any error then you can be more sure of the rest of the script.
🦛
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: HTTP::Tiny losing headers for Stripe
by Bod (Parson) on Jun 26, 2022 at 12:22 UTC | |
by tangent (Parson) on Jun 26, 2022 at 13:16 UTC | |
by Bod (Parson) on Jun 26, 2022 at 14:28 UTC |