Ali Khansari

Forum Replies Created

Viewing 17 posts - 1 through 17 (of 17 total)
in reply to: Missing an icon file & Question about WP PDF Viewer #158028

Ali Khansari
Participant

Hi,

One month has passed. Have you fixed the plugin? I still don’t see anything when I print a PDF.

Thank you

in reply to: Missing an icon file & Question about WP PDF Viewer #155530

Ali Khansari
Participant

I understand you cannot see it on your end and it is simply because your OS/browser is set on Light Mode. If you look at my screenshots I sent above, the PDF has a black background and it looks different than yours. Can you please help me to stop the PDF being black? Then it wouldn’t require us to find the missing icon.

To replicate the problem, please follow this link and enable the dark mode on your system: https://www.pcmag.com/how-to/how-to-enable-dark-mode-in-windows-10#:~:text=To%20enable%20dark%20mode%2C%20navigate,best%20of%20Light%20and%20Dark.

And also, make sure your browser is also following the system default color scheme (dark mode) and I’m pretty sure you will find that missing icon error.

Let me know if you need anything from me.

Thank you

in reply to: Missing an icon file & Question about WP PDF Viewer #155524

Ali Khansari
Participant

Perfect.

Can you see your own demo link: https://demo.wpdownloadmanager.com/wpdmpro/download/pdf-viewer/

This is what I see when I view the page: https://wencelworldwide.d.pr/CydOzE

And one thing! I guess you need to turn on the dark mode on your OS. Because my OS is in Dark mode. Maybe that has something do with this error? I’m using MacOS and it is dark. If you can force the PDF previewer to not change to dark mode, then it shows even better and we don’t need to find that icon?

Let me know if you have any questions.

in reply to: Missing an icon file & Question about WP PDF Viewer #155521

Ali Khansari
Participant
This reply has been marked as private.
in reply to: URL Structure cannot be saved #155481

Ali Khansari
Participant

Nice job!

Would you mind explaining how you fixed that?

Thank you!

in reply to: URL Structure cannot be saved #155476

Ali Khansari
Participant

Hi Humayon,

Thank you for your prompt response. I have already given you the access here (same topic), second reply: https://www.wpdownloadmanager.com/support/topic/url-structure-cannot-be-saved/#post-155456
Screenshot: https://wencelworldwide.d.pr/Zsio4F

Here is what I have installed on site: https://wencelworldwide.d.pr/Biw2C6

I don’t really have a lot of plugins installed. It’s only WP Download Manager Addons and plugins.

Please let me know if you need anything else.

Thanks!

in reply to: URL Structure cannot be saved #155474

Ali Khansari
Participant
This reply has been marked as private.
in reply to: URL Structure cannot be saved #155456

Ali Khansari
Participant
This reply has been marked as private.
in reply to: Membership Pro Lifetime Interval cannot be passed #131371

Ali Khansari
Participant

Hi,

Thanks for your response! Is the update out yet?
Please let me know when it is out so I can proceed with the rest of my process.

Thank you

in reply to: Membership Pro Lifetime Interval cannot be passed #131087

Ali Khansari
Participant

Hi,

Did you see my last post? Any updates? I really need you to fix this bug on this plugin. We cannot make payments for lifetime one.

Thank you in advance!

in reply to: Membership Pro Lifetime Interval cannot be passed #130921

Ali Khansari
Participant

I am the developer, the server is on AWS we didn’t have 500 error in other places but only for this instnace.

Here is the complete WP error log when you click on the red link (URL) on your Chrome:

link

Fatal error: Uncaught Stripe\Error\InvalidRequest: Checkout does not support plans with the value 0 foramountinsubscription_data[items][0]. in /*******/wp-content/plugins/wpdmpp-stripe/libs/vendor/stripe/stripe-php/lib/ApiRequestor.php:210 from API request ‘req_IvPrCRHaOg61o5’ Stack trace: #0 *******/wp-content/plugins/wpdmpp-stripe/libs/vendor/stripe/stripe-php/lib/ApiRequestor.php(173): Stripe\ApiRequestor::_specificAPIError(‘{\n “error”: {\n…’, 400, Object(Stripe\Util\CaseInsensitiveArray), Array, Array) #1 /*******/wp-content/plugins/wpdmpp-stripe/libs/vendor/stripe/stripe-php/lib/ApiRequestor.php(473): Stripe\ApiRequestor->handleErrorResponse(‘{\n “error”: {\n…’, 400, Object(Stripe\Util\CaseInsensitiveArray), Array) #2 /*******/wp-content/plugins/wpdmpp-stripe/libs/vendor/stripe/stripe-php/lib/ApiRequestor.php(126): Stripe\ApiRequestor->_interpretResponse(‘{\n “error”: {\n…’, 400, Object(Stripe\Uti in /*******/wp-content/plugins/wpdmpp-stripe/libs/vendor/stripe/stripe-php/lib/ApiRequestor.php on line 210

When the API is coming back from Stripe servers, it can’t complete the payment process due to the error (there is a parameter that cannot be passed when its value is empty or zero) from Stripe.

Also, I added another plan that has 1 year interval and it works perfectly fine with Stripe Test mode.

Can you please take a closer look at your code (where Stripe API is set)? When you choose the lifetime option, maybe it should use a different method (function) not to pass the data for recurring payment method to stripe, but ONE time payment method.

Does that make sense for you?

Thanks for your help.

in reply to: Membership Pro Lifetime Interval cannot be passed #130872

Ali Khansari
Participant
This reply has been marked as private.

Ali Khansari
Participant

We’re almost there, I need to know how we can “reset” the limit when they pay again. Let’s say they pay $25 (10 files plan) and they use it (they download 10 files). They want to try to buy the same plan, but they are already locked in to the plan. For a better UX, I’d like to let them know that their limit is passed and they are no longer in 10 file plan (we don’t have a time limitation but we have # of file limitation)

Is there anyway to cancel the membership “Automatically or programmatically” once a user hit the limit of downloads (10 files in this case) ?
Or even further, sending an email for a renewal. So they know that they have to purchase the plan again?


Ali Khansari
Participant

Thank you again, I was wondering if there is a way to determine if a user downloaded a file and show a message to them & possibly a history of what they downloaded.

Here is what happens when I use the shortcode: https://monosnap.com/file/nqGq4HWM7IL31Ss9AYbJlvjJTAfMWQ

For the upgrade option, by default, if I’m a user, I can upgrade from my dashboard (using WP Pro Membership), how can I not let them to upgrade and tell them what you said: “you have to cancel your already subscribed plan and have to subscribe to a new one”?

We don’t want to restrict any page. We want to show everything, but only for downloading, they have to pick a plan (from here) and since they have a limit, they can download up to that number.

So I assume this limit needs to be set for a user role, say for 365 days for example.


Ali Khansari
Participant

Thank you for your response.
After user hits the limit, it should give them a message to purchase more packages. Can you explain about the customized plugin pleasE?

Also, when after downloading a PDF, how can user download the PDF again? Is there a way to download a file again or is there a way to show a message “you have already purchased the file, go to X to download/view the file?
Obviously, we don’t want to count those again.
Another thing, I know that you can upgrade your plans. This way the number of downloads should add up. How does this plugin work to handle this?

Overall, you’re saying to create 8 plans (8 roles) to get started with this. Right?

in reply to: 400 Bad Request Error #129102

Ali Khansari
Participant

By the way, I used this method here:

Cannot save settings – AJAX error

<IfModule mod_security.c>
SecFilterRemove 001868
</IfModule>
and it did not work for me. Server is an AWS Bitnami WordPress instance. I have 20 instances on my AWS account and have never had 400 bad request error on them.
This problem only happens when I see the dashboard page. After removing the cookie, the page loads fine again.

in reply to: Plan IDs are disabled WP Membership Pro #129002

Ali Khansari
Participant

I made a test purchase and used the credit to download a file, but in the method here is what I see:

https://d.pr/free/i/Zvj4gT

I would like to change these as they never understand these.
Also, is there a history/invoice of buying credits (not downloads) in user’s profile that they can see?

Viewing 17 posts - 1 through 17 (of 17 total)