Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove "refund" button based on order date and gateway #3148

Open
kimcoleman opened this issue Sep 30, 2024 · 0 comments
Open

Remove "refund" button based on order date and gateway #3148

kimcoleman opened this issue Sep 30, 2024 · 0 comments

Comments

@kimcoleman
Copy link
Member

Is your feature request related to a problem? Please describe.
PayPal only allows you to refund a payment within 180 days. We should consider to remove our refund link for orders outside this 180 day window when the gateway is PayPal. See their documentation on how to issue a refund to confirm this.

Stripe doesn't appear to have any specific "terms" for when a refund is possible. We may want to build this into the gateway classes either way and leave Stripe / some as "unknown" or "indefinite".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant