Configuration not clear and working fine

1 year 5 months ago #830
Topic Author
Tom Biermann tbiermann's Avatar
Tom Biermann tbiermann
Configuration not clear and working fine

Hello, i like your plugin a lot, BUT i want to start with an amount of 10€ e.g. and have also the possibility to put 500 or more euro! With the logic from your plugin my maximum amount is only 20€ ,if i choose 10€ to start.
when i choose 250€ to start, the maximum amount is 500€ but the minimum is only 25€.
how can i config this in a better and more sense way?

1 year 5 months ago #831
Dmitry's Avatar
Posts: 660
Configuration not clear and working fine

Hello Tom!

Yes, there is a fixed logic in code on line 256 of file jmb_donation.php

range: [sum/10, sum*2]
sum here is the amount from settings. As you can see the start value is amount divided by 10 and end value is amount multiplied by 2.
You can try to play around with this line to get the desired result.

Best regards,
Dmitry


Like our extensions and support?
Add your voice to the JED listing with a 100-score review: bit.ly/2ciJBqC
Thanks!
Last edit: 1 year 5 months ago by Dmitry.

1 year 5 months ago #832
Topic Author
Tom Biermann tbiermann's Avatar
Tom Biermann tbiermann
Configuration not clear and working fine

Thanks for your reply,
could you give me a idea what to write there?
i would like start with 10 and at the end maybe 100 or if possible 500.

another question, i config the plugin at the plugin settings and integrated the plugin like this:
{jmb_donation paypal|example@googlemail.com|50|€}

but in the frontend it looks like this:



and still your mail adress is written there !!!

Attachments:
Last edit: 1 year 5 months ago by Tom Biermann tbiermann.

1 year 5 months ago #833
Dmitry's Avatar
Posts: 660
Configuration not clear and working fine

could you give me a idea what to write there?

For example:
range: [10, 500]
We will try ti implement start/end values as parameters in next version.

another question, i config the plugin at the plugin settings and integrated the plugin like this:
{jmb_donation paypal|example@googlemail.com|50|€}

Do not use €, use EUR. Also make sure that there is no any formatting inside {} tag. To check this disable editor and in clean html you will see if there any garbage inside {} tag.

Also if you have setup settings there is no need to use such a long tag. Just use {jmb_donation} and it will take values from settings.

and still your mail adress is written there !!!

It should not be there if {} tag is written correctly.


Like our extensions and support?
Add your voice to the JED listing with a 100-score review: bit.ly/2ciJBqC
Thanks!

1 year 5 months ago #834
Topic Author
Tom Biermann tbiermann's Avatar
Tom Biermann tbiermann
Configuration not clear and working fine

thanks, one more time where i found the jmb_donation.php ?
and is there a option to change the language? also when i click on donate it open a paypal site with english words, can i change this ?

Last edit: 1 year 5 months ago by Tom Biermann tbiermann.

1 year 5 months ago #835
Dmitry's Avatar
Posts: 660
Configuration not clear and working fine

where i found the jmb_donation.php

plugins/content/jmb_donation/jmb_donation.php

and is there a option to change the language?

Change the language of what?

also when i click on donate it open a paypal site with english words, can i change this ?

I thinks so. Probably you will need to add locale input to Paypal form.
<input type="hidden" name="lc" value="en_US" >

See here how to do it:
www.norrnext.com/forum/jmb-donation/554-...n-in-new-browser#651

See the list of supported locales here:
developer.paypal.com/docs/classic/api/locale_codes/


Like our extensions and support?
Add your voice to the JED listing with a 100-score review: bit.ly/2ciJBqC
Thanks!

1 year 5 months ago #841
Topic Author
Tom Biermann tbiermann's Avatar
Tom Biermann tbiermann
Configuration not clear and working fine

Sorry this i dont understand exactly,
first i want to change the Donate Button (different language) and then after i click on it at the new window also from paypal.

1 year 5 months ago #842
Dmitry's Avatar
Posts: 660
Configuration not clear and working fine

first i want to change the Donate Button (different language)

It is in the language file.
PLG_CONTENT_JMB_DONATION_SUBMIT="Donate"
Create language override for it or a new language string for your language.

and then after i click on it at the new window also from paypal.

The answer is in my previous post.

We are providing free extension and if you cannot make changes by yourself then drop us a line to This email address is being protected from spambots. You need JavaScript enabled to view it. and we will made it for you, but that's not for free.


Like our extensions and support?
Add your voice to the JED listing with a 100-score review: bit.ly/2ciJBqC
Thanks!

1 year 5 months ago #843
Topic Author
Tom Biermann tbiermann's Avatar
Tom Biermann tbiermann
Configuration not clear and working fine

Ok i found now, i just saw your links right now, sorry.
i changed at php form now this line:

<input type="hidden" name="cmd" value="_xclick" >
to
<input type="hidden" name="lc" value="de_DE" >

unfortunately now it opens my paypal account/login, but not the mask to type the donation and so on, what did i wrong?

SOLVED, i have to put in in this way:
<input type="hidden" name="cmd" value="_xclick">
        <input type="hidden" name="lc" value="de_DE">

Last edit: 1 year 5 months ago by Tom Biermann tbiermann.

1 year 5 months ago #844
Dmitry's Avatar
Posts: 660
Configuration not clear and working fine

You do not need to remove <input type="hidden" name="cmd" value="_xclick" >, just add <input type="hidden" name="lc" value="de_DE" >.

unfortunately now it opens my paypal account/login

Can you set all parameters in plugin settings and then simply use {jmb_donation}?


Like our extensions and support?
Add your voice to the JED listing with a 100-score review: bit.ly/2ciJBqC
Thanks!

You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+2). but not limited. Our staff will be pleased to provide Premium support to every paid subscriber asap, but sometimes you should be ready to wait for our reply for up to 3 days. In case of free extensions we do the best to develop and maintain them either, but their support is not necessary.

Product Latest Update