Skip to content

Payment link generated using the API does not show Paypal option #321

Description

@priyankaj1311

I am using the below code to generate payment link with USD currency and options specifically mentioned to show wallet, however I do not see paypal in the check out options. When I generate the link directly from razorpay dashboard, paypal does show. Please review my code and suggest if any changes are needed.

link = client.payment_link.create({ "amount": amount, "currency": "USD", "description": desc, "customer": { "name": "Valued Customer", "email": "customer@example.com", # PayPal needs this to initialize "contact": "XXXXXXX" # Ensure this includes the country code (e.g., +1...) }, "notes": { "plan": plan }, "callback_url": "XXXX", "callback_method": "get", "options":{ "checkout": { "method": { "card": "true", "wallet": "true", } } } })

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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