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

Export button not working #4737

Closed
edwardpmartinez opened this issue Aug 10, 2019 · 4 comments
Closed

Export button not working #4737

edwardpmartinez opened this issue Aug 10, 2019 · 4 comments

Comments

@edwardpmartinez
Copy link

Description

The export button is not working. Tried to export entries and users but no file is downloaded. Here's a screenshot of the export button:

Screen Shot 2019-08-10 at 3 47 45 PM

Steps to reproduce

  1. Click on the checkbox of any element
  2. Click on the export button. Leave the limit blank
  3. After clicking the export button, the user is redirected to the dashboard

Additional info

  • Craft version: 3.2.8
  • PHP version: 7.2.17
  • Database driver & version: MYSQL
  • Plugins & versions: Latest version of Craft Commerce
@brandonkelly
Copy link
Member

It’s working on my end. Are you getting any JavaScript errors on the page?

@edwardpmartinez
Copy link
Author

I was able to identify the cause of the issue. If there is a value for "tokenParam", the export button doesn't work. In this particular site, I set a value for "tokenParam" because it uses PayPal for checkout.

Is there a way to make the export button work even with a value for "tokenParam"?

From: https://github.com/craftcms/commerce-paypal

If you're going to use the PayPal Express payment gateway you are required to change the default value of tokenParam in your Craft config
Choose any different token name other than token, for example you could put craftToken. Otherwise redirects from PayPal will fail.

@brandonkelly
Copy link
Member

Doh! Thanks, fixed that for today’s 3.2.10 release.

@edwardpmartinez
Copy link
Author

Thank you, @brandonkelly :)

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

2 participants