WebSite X5Help Center

 
Sinisa B.
Sinisa B.
User

PayPal rides again ;)  en

Autor: Sinisa B.
Besucht 1809, Followers 1, Geteilt 0  

Hi to all of you that are still NOT on your holidays!

I'm getting a PayPal error page when trying to test this type of payment in my LIVE shop.

In the X5 - PayPal's info box - I have put my verified PayPal e-mail address.

I'm using the LIVE mode (not the Sandbox).

The PayPal's error page URL says:

https://www.paypal.com/webapps/shoppingcart/error?flowlogging_id=a6d456e03ad66&code=ERROR&mfid=1564498459701_a6d456e03ad66

...and the screen shot is in the att.

You can try it for yourself on my page here (it's in Croatian but I believe you can manage to click the right buttons):

www.izradawebshopa.eu/demoshop

Cheers and thank you in advance!



Gepostet am
29 ANTWORTEN - 3 NüTZLICH
Aleksej H.
Aleksej H.
Moderator

Hello. I sent a notice of your request to the developers. Wait for a response from them here in the comments.

Mehr lesen
Gepostet am von Aleksej H.
Sinisa B.
Sinisa B.
User
Autor

Aleksej, thank you!

Hopefully the developers would find what it is (in my opinion, the link with the PayPal service could be changed...).

Mehr lesen
Gepostet am von Sinisa B.
Incomedia
Stefano G.
Incomedia

Hi Sinisa

I've tested the PayPal functionality both in Live and Sandbox mode and I can confirm that everything seems to be working just fine at the moment.

Are you sure you configured everything correctly? If so, try contacting the Paypal support so that they might analyze the exact error you're receiving. They might be able to indicate what the problem is and I could then verify this for you

Keep me posted on this

Thank you

Stefano

Mehr lesen
Gepostet am von Stefano G.
Sinisa B.
Sinisa B.
User
Autor

@ Stefano

Thank you for the feedback!

What canI do wrong  in configuring the PayPal in X5?

I can only put a wrong PayPal account...and nothing else.



In the PayPal account box - I have put my valid PayPal e-mail address (double checked).

Is this OK?

Should I put my account number instead of my PayPal's e-mail address?



BTW - I was not messing with the code - and I use the latest software release.

Thanks a lot in advance!


Mehr lesen
Gepostet am von Sinisa B.
Sinisa B.
Sinisa B.
User
Autor
Sinisa B.
Sinisa B.
User
Autor

@ Support

I have contacted PayPal few days ago- and I got no reply from them.

But, I have found this answer on the PayPal's HELP CENTER:

https://www.paypal.com/us/smarthelp/article/ts2067

You can read for the details - but it seems that the code for the PayPal's BUY NOW button is not generated correctly via X5.

Please note the country code format - it should be (i.e. for Italy) just IT not it_IT.


You can find hr_HR in the second part of the link below. Should it be just HR?



BELOW IS THE CODE GENERATED FOR THE PAYPAL BUY NOW BUTTON FROM MY WEBSITE:

https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&address_override=0&bn=IT_ICM-WPS&business=sb%40s-blasic.com&item_name=Broj%20narud%C5%BEbe%20190802-DQ84&item_number=190802-DQ84&amount=846.56¤cy_code=HRK&button_subtype=services&no_note=0&charset=UTF%2d8&first_name=Sini%u0161a&last_name=Blasi%u0107&address1=O%u017Eegovi%u0107eva%2014A&address2=&city=Zagreb&state=&country=HR&zip=10000&email=***&lc=hr_HR&return=http%3A%2F%2Fwww.izradawebshopa.eu%2Fdemoshop%2Fpaypal-ok.html&cancel_return=http%3A%2F%2Fwww.izradawebshopa.eu%2Fdemoshop%2Fpaypal-not-ok.html¬ify_url=http%3A%2F%2Fwww.izradawebshopa.eu%2Fdemoshop%2Fcart%2Fpaypal_ipn.php

************************************************

Could you please look into it?

I'm really in a hurry to finalize my site - and the major payment getaway is not working!

PLEASE NOTE:
For the PayPal address field in X5 - I'm using my valid & active PayPal address from my PRIVATE PayPal account.
I do not have a merchant account associated with this e-mail address. I have NOT entered any custom code - I'm using this option as it is.

If this is not working in my case - it could be a major bug but the users are not aware of it...and they could be using sales.

Thank you in advance for any help!

Mehr lesen
Gepostet am von Sinisa B.
Paul M.
Paul M.
Moderator

Hello Sinisa,

The hr_HR part of your code is the locale code, which is a different parameter to the country code.  The locale code is used to set the user's language for the transaction:

https://developer.paypal.com/docs/api/reference/locale-codes/

The country specified in your code above is correct (HR), so this is not the reason for your problem.

However, while looking at the code for you I have found your issue, and I highlight it below:

https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&address_override=0&bn=IT_ICM-WPS&business=sb%40s-blasic.com&item_name=Broj%20narud%C5%BEbe%20190802-DQ84&item_number=190802-DQ84&amount=846.56¤cy_code=HRK&button_subtype=services&no_note=0&charset=UTF%2d8&first_name=Sini%u0161a&last_name=Blasi%u0107&address1=O%u017Eegovi%u0107eva%2014A&address2=&city=Zagreb&state=&country=HR&zip=10000&email=***&lc=hr_HR&return=http%3A%2F%2Fwww.izradawebshopa.eu%2Fdemoshop%2Fpaypal-ok.html&cancel_return=http%3A%2F%2Fwww.izradawebshopa.eu%2Fdemoshop%2Fpaypal-not-ok.html¬ify_url=http%3A%2F%2Fwww.izradawebshopa.eu%2Fdemoshop%2Fcart%2Fpaypal_ipn.php

You will notice a strange symbol to the right of the amount: it's the symbol for an unspecified currency.  This should be an ampersand instead (&)  -  if you click on the code below in your browser you will see what I mean:

https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&address_override=0&bn=IT_ICM-WPS&business=sb%40s-blasic.com&item_name=Broj%20narud%C5%BEbe%20190802-DQ84&item_number=190802-DQ84&amount=846.56&cy_code=HRK&button_subtype=services&no_note=0&charset=UTF%2d8&first_name=Sini%u0161a&last_name=Blasi%u0107&address1=O%u017Eegovi%u0107eva%2014A&address2=&city=Zagreb&state=&country=HR&zip=10000&email=***&lc=hr_HR&return=http%3A%2F%2Fwww.izradawebshopa.eu%2Fdemoshop%2Fpaypal-ok.html&cancel_return=http%3A%2F%2Fwww.izradawebshopa.eu%2Fdemoshop%2Fpaypal-not-ok.html¬ify_url=http%3A%2F%2Fwww.izradawebshopa.eu%2Fdemoshop%2Fcart%2Fpaypal_ipn.php

Did you by any chance copy and paste 'amounts' into WebSite X5 when building your webshop?

Kind regards,

Paul

Search the WebSite X5 Help Center (multilingual)

Mehr lesen
Gepostet am von Paul M.
Axel  
Axel  
User

Humm... Interesting Paypal article !tongue-out

Copy/paste your screen cart with the item / amount ...etc (item with error wink), also the screen with shipphing address ... just to see if the generated paypal link has same values from your fields.

I suggest to you to do same test with $ and US country...maybe some issues could be generating by WSX5 with Croatian country / language.

Hope this helps

https://wsx5.afsoftware.Fr

Mehr lesen
Gepostet am von Axel  
Incomedia
Stefano G.
Incomedia

Good day everyone

Paul's insight could undoubtedly be helpful. Could you try and verify that?

Also, verify the currency you're currently using so that I might be able to gather more information on that too

Thank you

Stefano

Mehr lesen
Gepostet am von Stefano G.
Axel  
Axel  
User

Great Paul :-)

You win one pack of beer tongue-out

Question is why WSX5 has generated this symbol ?

unkwown currency ?

Cheers

https://wsx5.afsoftware.fr

Mehr lesen
Gepostet am von Axel  
Sinisa B.
Sinisa B.
User
Autor

@ Paul

Thank you very much!

Your link works.

So this "strrange" character was making the mess...

I'm using a local currency (HRK or kuna).

I set my shop to use this currency as I should:

(STEP 1 > OPTIONS > CURRENCY SETTINGS > HRK - CROATIA, Kuna, kn).

Regarding the amounts - what you mean by that?
Copy/paste the prices or the amounts of products?

Anyways, I have to use my local currency in the PayPal payment process - how can I do that and not generating this error? Using USD or EUR is out of the question by now.

Please let me know if you need anything elese - btw. you can find my site below:

http://www.izradawebshopa.eu/demoshop/

Thanks in advance!

@ Wsx5.afsoftware.fr  

I'll be glad if I can help you with to anything- but maybe it would be better if you can find it by yourself.

Below is my site:
http://www.izradawebshopa.eu/demoshop/

Although you do not know Croatian ;) - Dalje means (NEXT) and for the requested data put anything in (e-mail is e-mail).

If you need anything else from me - justlet me know - thank you!



@ Stefano

Please read my reply to Paul above - thank you!

Mehr lesen
Gepostet am von Sinisa B.
Sinisa B.
Sinisa B.
User
Autor

BTW - the Paul is right, in the CHROME browser (in the address field) the PayPal has stated that this is the AMOUNT ERROR!

I have not noticed this because I do not use CHROME!

Mehr lesen
Gepostet am von Sinisa B.
Paul M.
Paul M.
Moderator

With respect to my copy/paste question, please disregard that now as I've done some further testing and I don't believe that it's possible for WebSite X5 to accept pasted hidden characters in the price fields (I was originally referring to the price 'amounts', by the way...  apologies for any confusion).

I'm not sure but I'm beginning to think that this is a character set mismatch issue.  This is only my personal hunch but I feel that the character set which is currently in use for either the MySQL database or the PHP scripts on the server might be set to something other than UTF-8

Your webhost would be able to check this for you and confirm one way or the other.

Mehr lesen
Gepostet am von Paul M.
Sinisa B.
Sinisa B.
User
Autor

I have tried again (PayPal is in the SANDBOX mode).

No strange character at the end of the amount (bold)....
...but the error is still there...

Below is the BUY BUTTON link code:

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_xclick&address_override=0&bn=IT_ICM-WPS&business=sb%40s-blasic.com&item_name=Broj%20narudzbe%20190805-SW53&item_number=190805-SW53&amount=136.24&currency_code=HRK&button_subtype=services&no_note=0&charset=UTF%2d8&first_name=Sini%u0161a&last_name=Blasi%u0107&address1=O%u017Eegovi%u0107eva%2014A&address2=&city=Zagreb&state=&country=HR&zip=10000&email=***&lc=sr_SR&return=http%3A%2F%2Fwww.izradawebshopa.eu%2Fdemoshop%2Fpaypal-ok.html&cancel_return=http%3A%2F%2Fwww.izradawebshopa.eu%2Fdemoshop%2Fpaypal-not-ok.html&notify_url=http%3A%2F%2Fwww.izradawebshopa.eu%2Fdemoshop%2Fcart%2Fpaypal_ipn.php

****

Frustrating...
 

Mehr lesen
Gepostet am von Sinisa B.
Paul M.
Paul M.
Moderator
Sinisa B.
Sinisa B.
User
Autor

PLEASE READ THIS:


The PayPal BUY BUTTON code will work IF - behind the amount - says:
cy_code

If instead of the cy_code says currency_code it will NOT work!

So, my question is:

why the X5 sometimes generates the "currency_code" (like in my case above)?



Mehr lesen
Gepostet am von Sinisa B.
Sinisa B.
Sinisa B.
User
Autor

@ Paul

Thank you again!

I have seen your reply just now - but I found the error.

Please raed above.

Mehr lesen
Gepostet am von Sinisa B.
Sinisa B.
Sinisa B.
User
Autor

@ Paul

The code is generated with via X5 - I have not messed with it...

Mehr lesen
Gepostet am von Sinisa B.
Paul M.
Paul M.
Moderator

Yes, I see, our replies crossed, Sinisa.

I'm sorry that I can't help you further.  I don't quite understand what is happening here.  I'll continue to think about it and chip back in if I have any ideas.

Mehr lesen
Gepostet am von Paul M.
Sinisa B.
Sinisa B.
User
Autor

@Paul

Cheers, man!

It supports the HRK - I have paid things in HRK.

But this code (currency_code) is generated by the X5, Paypal has nothing to do with it...or

I'm missing something?

Mehr lesen
Gepostet am von Sinisa B.
Sinisa B.
Sinisa B.
User
Autor

@ Paul and @ Stefano

The error is in the currency (you were right, Paul)
- when I pick USD, EUR or CHF - the link works (meaning, the user is taken to the PayPal site).

When I have the prices in HRK - the error occurs...

BUT, when I manually change that part in "cy_code" - even in HRK everything works OK...

I do not understand, the prices in HRK are and could be converted by the PayPal during the payment process. This is an "easy money" for the PP...

Do you have any suggestion (besides, I'll go and contact the PayPal -and wait for the answer for weeks...)?

Mehr lesen
Gepostet am von Sinisa B.
Axel  
Axel  
User

Sinisa,

At 10pm this morning I suggested to you to do the test with $, to check...wink

It was not a stupid idea to investigate.

I was right to do that !

:-)

https://wsx5.afsoftware.fr

Mehr lesen
Gepostet am von Axel  
Sinisa B.
Sinisa B.
User
Autor

@ Wsx5.afsoftware.fr 

Yes,you were right (and I was stupid enough not to listen ;)
Thank you!

Mehr lesen
Gepostet am von Sinisa B.
Incomedia
Stefano G.
Incomedia

Good day everyone

Thank you for your tests on the matter. I've performed a few checks on this and believe that the currency_code parameter is just fine per PayPal documentation. In fact, most currency I've tested inside the software work just fine with the generated code, except the HRK and some other

In order to understand what values exactly are supported by PayPal you can look them up here:

https://developer.paypal.com/docs/api/reference/currency-codes/

I'm afraid that as of now, every other currency will return the same kind of error.

I understand that it can be confusing since you're still able to select said value but you won't see it working fine with PayPal and I've forwarded the matter to the developers for further analysis so that the situation can be kept under control

Additionally, the fact that you're still seeing the wrong icon for the HKR value indicates that your installation still needs to update this value. This can only be done by the software for new installations. In your case, you need to either manually change the icon from the old one to "kn":

Or navigate to C:\Users\youruser\AppData\Local\Incomedia\WebSite X5 - Pro/Evo/Professional/Evolution\Libraries and delete the currencies.xml file and the values will be updated automatically next time you start the software

I thank you for your patience and understanding as we investigate this further

Stefano

Mehr lesen
Gepostet am von Stefano G.
Sinisa B.
Sinisa B.
User
Autor

Hi Stefano,

Could you please explain his part of your message:

****
"Additionally, the fact that you're still seeing the wrong icon for the HKR value indicates that your installation still needs to update this value. This can only be done by the software for new installations. In your case, you need to either manually change the icon from the old one to "kn":"
****

So you say that HRK is obsolete as a currency symbol and in the PayPal code I should put "kn" instead?

I thought that PayPal does not accepts any payments done via BUY NOW button in my local currency - regardless if I use "HRK" or "kn"...

 

Mehr lesen
Gepostet am von Sinisa B.
Incomedia
Stefano G.
Incomedia

Hi Sinisa

The symbol I'm talking about is this and it can be customized:

It should be changed with kn

This will in no way influence the current situation with PayPal but is still something that might be worth editing

Thank you

Stefano

Mehr lesen
Gepostet am von Stefano G.
Sinisa B.
Sinisa B.
User
Autor

Hi Stefano.

I have edited it months ago - when I started to work on my store.

Nevertheless, thank you for the info!

Mehr lesen
Gepostet am von Sinisa B.