Open Towich opened 11 hours ago
I have an issue with sendInvoice and onPreCheckoutQuery
sendInvoice
onPreCheckoutQuery
If sendInvoice have only requireEmail = true but doesn't have all of this:
requireEmail = true
requireName = true, requirePhoneNumber = true, requireShippingAddress = true
then onPreCheckoutQuery will not handle preCheckoutQuery.
I think It's because class OrderInfo have only non-nullable fields, so I guess fields can be nullable
OrderInfo
Welcome with your first issue
I have an issue with
sendInvoice
andonPreCheckoutQuery
If
sendInvoice
have onlyrequireEmail = true
but doesn't have all of this:then
onPreCheckoutQuery
will not handle preCheckoutQuery.I think It's because class
OrderInfo
have only non-nullable fields, so I guess fields can be nullable