You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect there will be other occurrences of this but the variable type for $version in paymentIntentsCreatePaymentIntent() is documented to be a DateTime object:
If a DateTime is passed through then a Bad Request is received. The documentation on docs.dojo.tech suggests to pass through the constant API_VERSION which is a string. This works fine so it just appears to be an issue with the PHPDocs.
The text was updated successfully, but these errors were encountered:
I suspect there will be other occurrences of this but the variable type for $version in paymentIntentsCreatePaymentIntent() is documented to be a DateTime object:
@param \DateTime $version API version with format yyyy-mm-dd. Current version is 2022-04-07. Today's date will always give you the latest version. (required)
No type is enforced on the parameter itself:
public function paymentIntentsCreatePaymentIntent($version,
If a DateTime is passed through then a Bad Request is received. The documentation on docs.dojo.tech suggests to pass through the constant API_VERSION which is a string. This works fine so it just appears to be an issue with the PHPDocs.
The text was updated successfully, but these errors were encountered: