Skip to content

send_payment_form's invoice_link Parameter giving error #165

@Its-Yash-Developer

Description

@Its-Yash-Developer

Checklist

  • I am sure the error is coming from Pyrofork's code and not elsewhere
  • I have searched in the issue tracker for similar bug reports, including closed ones
  • I ran pip3 install -U git+https://github.com/Mayuri-Chan/pyrofork and reproduced the issue using the latest development version

Description

This error not come only from new version PyroFork v2.3.69 it also was in PyroFork v2.3.68

But that time i use Google's jules to edit pyrofork it edit it and also working what i not know its edit effect other code or not

This is Edited Version: https://github.com/Its-Yash-Developer/Pyrofok-update/tree/fix-invoice-parsing-issue

Please fix this error in PyroFork v2.3.69

Steps to reproduce

.

Code example

await uclient.send_payment_form(chat_id=chat_id, message_id=msg_id)

        invoice = await pay.create_invoice_link(
            title="Paid Media Unlock Fee",
            description="Pay to unlock and save media.",
            payload=f"{user_id}_{fee}_fees",
            currency="XTR",
            prices=[types.LabeledPrice(amount=fee, label="Star")],
        )

        await uclient.send_payment_form(invoice_link=invoice)
        await query.message.edit_text("💸 Payment Successfully.")

Logs

line ERR: 'Invoice' object has no attribute 'title'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions