smartstore / Smartstore

A modular, scalable and ultra-fast open-source all-in-one eCommerce platform built on ASP.NET Core 7
http://www.smartstore.com/
GNU Affero General Public License v3.0
1.2k stars 447 forks source link

PayPal checkout issues #916

Closed mrrcomp closed 11 months ago

mrrcomp commented 11 months ago

Describe the bug When i get to pick payment method there is no continue button when the default method selected is "Pay Pal" if i then pick other payment method the "next" button appears I can then go back to paypal to continue when i proceed to final stage of paypal (accept terms) and hit the "confirm button" i get the following error message

The given key 'PayPalOrderId' was not present in the dictionary.

Windows 10 x6 chrome,

Store Version 5.1

My store is store.mrrcomputers.cc

Regards

Meir

mrrcomp commented 11 months ago

PaypalError

mrrcomp commented 11 months ago

hi it seems when i try to add the paypal method on the second store the payment option doesnt even show???

Meir

Michael-Herzog commented 11 months ago

Hi, I've just tested on store.mrrcomputers.cc. The script for the PayPal SDK can't probably not be loaded because of the currency NIS which is not supported by PayPal. Regards, Michael

mrrcomp commented 11 months ago

Hi

Thanks.. Firstly I do believe paypal supports israeli shekels I pay with that all the time??

Secondly what about the fact that on the second store robinscreations.store the paypal payment option doesn’t show at all??

Regards

Meir

From: Michael-Herzog @.> Sent: Wednesday, December 6, 2023 3:43 PM To: smartstore/Smartstore @.> Cc: Meir Rotfleisch @.>; Author @.> Subject: Re: [smartstore/Smartstore] paypal checkout issues (Issue #916)

Hi, I've just tested on store.mrrcomputers.cc. The script for the PayPal SDK can't probably not be loaded because of the currency NIS which is not supported by PayPal. Regards, Michael

— Reply to this email directly, view it on GitHubhttps://github.com/smartstore/Smartstore/issues/916#issuecomment-1842913762, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFNM4LKYBBDSRZUIOKBVCTYIBY4PAVCNFSM6AAAAABAFQDQQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBSHEYTGNZWGI. You are receiving this because you authored the thread.Message ID: @.**@.>>

Michael-Herzog commented 11 months ago

Secondly what about the fact that on the second store robinscreations.store the paypal payment option doesn’t show at all??

One problem at a time.

Yes it's true PayPal supports Israeli new shekel: https://developer.paypal.com/docs/reports/reference/paypal-supported-currencies/

But your currency has the ISO code NIS and not ILS.

Regards,

mrrcomp commented 11 months ago

HI again

I switched the currency code to ILS now the paypal works on the store.mrrcomputers.cc but still only on that store not the robinscreations.store ??

Regards

Meir

From: Michael-Herzog @.> Sent: Wednesday, December 6, 2023 3:43 PM To: smartstore/Smartstore @.> Cc: Meir Rotfleisch @.>; Author @.> Subject: Re: [smartstore/Smartstore] paypal checkout issues (Issue #916)

Hi, I've just tested on store.mrrcomputers.cc. The script for the PayPal SDK can't probably not be loaded because of the currency NIS which is not supported by PayPal. Regards, Michael

— Reply to this email directly, view it on GitHubhttps://github.com/smartstore/Smartstore/issues/916#issuecomment-1842913762, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFNM4LKYBBDSRZUIOKBVCTYIBY4PAVCNFSM6AAAAABAFQDQQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBSHEYTGNZWGI. You are receiving this because you authored the thread.Message ID: @.**@.>>

Michael-Herzog commented 11 months ago

Right now you seem to have disabled PayPal in both stores. Please check if the PayPal method is disabled: https://store.mrrcomputers.cc/admin/payment/edit/?systemName=Payments.PayPalStandard Also check your multistore settings for the PayPal plugin: https://store.mrrcomputers.cc/admin/paypal/configure/?returnUrl=%2Fadmin%2Fpayment%2Fproviders%2F

mrrcomp commented 11 months ago

HI Thanks for taking your time to help me.

I didn’t disable I was able to go all the way on the store.mrrcomputers.cc to the paypal popup .. Check if the problem is that the paypal is not activated on first time you get to the payment choice.. ?

@.***

And I see the configurations for both stores with the correct email,client,secret

Regards

Meir

From: Michael-Herzog @.> Sent: Wednesday, December 6, 2023 4:15 PM To: smartstore/Smartstore @.> Cc: Meir Rotfleisch @.>; Author @.> Subject: Re: [smartstore/Smartstore] paypal checkout issues (Issue #916)

Right now you seem to have disabled PayPal in both stores. Please check if the PayPal method is disabled: https://store.mrrcomputers.cc/admin/payment/edit/?systemName=Payments.PayPalStandard Also check your multistore settings for the PayPal plugin: https://store.mrrcomputers.cc/admin/paypal/configure/?returnUrl=%2Fadmin%2Fpayment%2Fproviders%2F

— Reply to this email directly, view it on GitHubhttps://github.com/smartstore/Smartstore/issues/916#issuecomment-1842971163, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFNM4O2U5N3F2XHONWGKGDYIB4UZAVCNFSM6AAAAABAFQDQQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBSHE3TCMJWGM. You are receiving this because you authored the thread.Message ID: @.**@.>>

Michael-Herzog commented 11 months ago

Hi, the problem for me in the computer store, was that I expected the button in the offcanvas cart :-) On the payment selection page it was there.

I've checked in different stores now, generally there's no problem in a multi store environment. So I've also checked the code. The only hint I have right now is the application cache. Can you please clear it (upper right corner in the admin area).

Regards, Michael

mrrcomp commented 11 months ago

Hi I did a clear application cach and database cache plus restrated application. still on the robinscreations.store only 1 payment method is enabled while on the store.mrrcomputers.cc both methods listed

did you check if in the multistore ther are different definitions for each store?

meir

Michael-Herzog commented 11 months ago

Very strange!

If there was a problem with the multistore settings at least there should be the script in source code of your page which isn't there in your second store.

If I register in your store would you give me the admin role temporaryly so I could check the configuration?

Regards, Michael

mrrcomp commented 11 months ago

Believe or not the default admin user 👥/pwd work


From: Michael-Herzog @.> Sent: December 6, 2023 17:09 To: smartstore/Smartstore @.> Cc: Meir Rotfleisch @.>; Author @.> Subject: Re: [smartstore/Smartstore] paypal checkout issues (Issue #916)

Very strange!

If there was a problem with the multistore settings at least there should be the script in source code of your page which isn't there in your second store.

If I register in your store would you give me the admin role temporaryly so I could check the configuration?

Regards, Michael

— Reply to this email directly, view it on GitHubhttps://github.com/smartstore/Smartstore/issues/916#issuecomment-1843080665, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFNM4IPMBHP3N5MYTXVSTTYICDEPAVCNFSM6AAAAABAFQDQQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBTGA4DANRWGU. You are receiving this because you authored the thread.Message ID: @.***>

Michael-Herzog commented 11 months ago

I don't know if I understood this correctly. There is no default admin password combination in Smartstore. You're asked explicitly when installing to enter this data,

mrrcomp commented 11 months ago

I think I installed via the host company anyways yes 👍 register ilk et uu as admin


From: Michael-Herzog @.> Sent: December 6, 2023 17:21 To: smartstore/Smartstore @.> Cc: Meir Rotfleisch @.>; Author @.> Subject: Re: [smartstore/Smartstore] paypal checkout issues (Issue #916)

I don't know if I understood this correctly. There is no default admin password combination in Smartstore. You're asked explicitly when installing to enter this data,

— Reply to this email directly, view it on GitHubhttps://github.com/smartstore/Smartstore/issues/916#issuecomment-1843101090, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFNM4JT2ZASXR6YAXZG4G3YICEOVAVCNFSM6AAAAABAFQDQQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBTGEYDCMBZGA. You are receiving this because you authored the thread.Message ID: @.***>

Michael-Herzog commented 11 months ago

I've done it

mrrcomp commented 11 months ago

So have I 😊

Thanks for everything 😊

Meir\

From: Michael-Herzog @.> Sent: Wednesday, December 6, 2023 5:26 PM To: smartstore/Smartstore @.> Cc: Meir Rotfleisch @.>; Author @.> Subject: Re: [smartstore/Smartstore] paypal checkout issues (Issue #916)

I've done it

— Reply to this email directly, view it on GitHubhttps://github.com/smartstore/Smartstore/issues/916#issuecomment-1843109613, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFNM4ICZHESIDMMNFNZYK3YICFALAVCNFSM6AAAAABAFQDQQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBTGEYDSNRRGM. You are receiving this because you authored the thread.Message ID: @.**@.>>

Michael-Herzog commented 11 months ago

Now it works :-)

Michael-Herzog commented 11 months ago

I've added the second store in the PayPal card here: https://robinscreations.store/admin/module/list/ Please remove the admin role from my account. May I ask when you've performed the update to 5.1.0?

Regards, Michael

mrrcomp commented 11 months ago

Hi 👋 Thanks. I updated to 5.1 yesterday or day before. Can you explain how you added the second store?


From: Michael-Herzog @.> Sent: December 6, 2023 17:42 To: smartstore/Smartstore @.> Cc: Meir Rotfleisch @.>; Author @.> Subject: Re: [smartstore/Smartstore] paypal checkout issues (Issue #916)

I've added the second store in the PayPal card here: https://robinscreations.store/admin/module/list/ Please remove the admin role from my account. May I ask when you've performed the update to 5.1.0?

Regards, Michael

— Reply to this email directly, view it on GitHubhttps://github.com/smartstore/Smartstore/issues/916#issuecomment-1843141770, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFNM4KKAYO2JFUWPBY3GLDYICG43AVCNFSM6AAAAABAFQDQQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBTGE2DCNZXGA. You are receiving this because you authored the thread.Message ID: @.***>

Michael-Herzog commented 11 months ago

You're welcome! Just click on the link within the card in the link I've posted above.

stefanmuellerdo commented 11 months ago

(please close this issue if fixed, thanks)