Unable to Process This Payment Please Try Again Stripe


jeffC-11

Basically my problem is: Stripe fails to process payment if multicurrency is activated. I have only 2 currencies. GBP and EUR. Default currency: GBP. once multicurrency is activated then is not possible process any payments in any currency. Once deactivated, stripe can process payment sucessfuly in GBP. Error I am taking after placing an order: "Sorry, we are unable to process your payment at this time. Please retry later." Error debug log from WC:
====Stripe Version: 4.5.3====
====Start Log====
Error: stdClass Object
(
[error] => stdClass Object
(
[message] => Invalid currency: . Stripe currently supports these currencies: usd, aed, afn, all, amd, ang, aoa, ars, aud, awg, azn, bam, bbd, bdt, bgn, bhd, bif, bmd, bnd, bob, brl, bsd, bwp, bzd, cad, cdf, chf, clp, cny, cop, crc, cve, czk, djf, dkk, dop, dzd, egp, etb, eur, fjd, fkp, gbp, gel, gip, gmd, gnf, gtq, gyd, hkd, hnl, hrk, htg, huf, idr, ils, inr, isk, jmd, jod, jpy, kes, kgs, khr, kmf, krw, kwd, kyd, kzt, lak, lbp, lkr, lrd, lsl, mad, mdl, mga, mkd, mmk, mnt, mop, mro, mur, mvr, mwk, mxn, myr, mzn, nad, ngn, nio, nok, npr, nzd, omr, pab, pen, pgk, php, pkr, pln, pyg, qar, ron, rsd, rub, rwf, sar, sbd, scr, sek, sgd, shp, sll, sos, srd, std, szl, thb, tjs, tnd, top, try, ttd, twd, tzs, uah, ugx, uyu, uzs, vnd, vuv, wst, xaf, xcd, xof, xpf, yer, zar, zmw, eek, lvl, svc, vef, ltl
[param] => currency
[type] => invalid_request_error
)


Andreas W.

Supporter

Timezone: America/Lima (GMT-05:00)

Hello,

Now, I was testing the staging in minimal setup and all I can see is the same error message, not matter if I purchase in EN or DE for example:

See screenshot.

Suddenlty a pop-up showed up asking me for a password and I am not longer to access the staging. Also, for debugging server access would be very helpful.

Could you please try to run the site in minimal setup to see if the issue persists?

1) Disable any additional plugin that is not related to WPML and its add-ons.

2) If the issue disappears please start reactivating the plugins one by one, or activate them in small groups. This way please verify at which points the issue appears again to indicate the plugin that is causing the issue.

3) Also, if this did not clarify the cause of the issue please change to a default theme like TwentySeventeen to see if the issue might be theme related, if possible.

Further, you could enable the wp-debug feature to see if there are any current PHP errors given.

Add the following to your wp-config.php file:

define('WP_DEBUG', true); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', false );            

The wp-config.php is located in your WordPress root directory. It's the same file where the database configuration settings are. You will have to access it by FTP or SFTP in order to edit it.

If you open wp-config.php and that define statement is not there, you can add it right before this line:

/* That's all, stop editing! Happy blogging. */

You will be able to find a complete report inside of your wp-content folder. Look for a debug.log file and provide me the results.

More information about how to activate this feature you can find here:
https://wpml.org/documentation/support/debugging-wpml/

Let me know about the results. In case the debug-log is very long please add it to a web tool like pastebin.com and send me the link.

Kind regards,
Andreas

Capture.PNG

jeffC-11

Hello. Thanks for your reply. I have tried already make a payment on minimal setup with one of your collegues on chat support. That did not help. I have tried now again on minimal setup with theme twenty-twenty. Problem still persists. I have deactivated password protection - so now would be easier for you to trouble shoot. This is a staging site, + have some backups so please do not worry to work on this site in order to troubleshoot mentioned problem.

I have turned WP debug on, then tried to make a payment (unsuccesfuly) with multi currency enabled.

Following error has been written to debug.log :

PHP Notice: Undefined index: currency in /home/ryobe984/staging/1/wp-content/plugins/woocommerce-multilingual/classes/multi-currency/payment-gateways/class-wcml-payment-gateway-stripe.php on line 32

Your help will be highly appreciated.

Thanks


Andreas W.

Supporter

Timezone: America/Lima (GMT-05:00)

Hello,

I can confirm on the staging that even when running the site only with WooCommerce and WPML plugins, I am not able to purchase a product with Stripe on the English Checkout.

Sorry, we are unable to process your payment at this time. Please retry later.

Once WPML is disabled the purchase is getting processed.

I tried disabling Multi Currency, and in fact the issue is related to this option.

Now, I have created a test-site in order to try to recreate the same issue but I do not see the same problem.

Could you please connect here and let me know if you can recreate the issue on this sandbox?

One-Click-Login:
hidden link

Let me know about the results. If we might not be able to recreate the issue then I could offer to take a copy of the staging or forward the staging access to our secodn tier support team for further revission of the issue.

Best regards
Andreas


jeffC-11

Hello Andreas, I was unable to recreate problem on your sandbox (even after importing my products) so in this case, can you please give access to staging website for your second Tier support? Will they post updates on this thread? Thanks


Andreas W.

Supporter

Timezone: America/Lima (GMT-05:00)

Hello Matt,

I am sorry to hear that we are not able to recreate the issue on the sandbox.

As I am not longer able to connect to your staging please provide again admin and server access in the private form below.

I would like to go through the configuration to see if I can point out something. In any other way I will escalate to the second tier support and keep you updated about this on this ticket.

Best regards
Andreas


Christopher Amirian

Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

My name is Christopher and I am going to continue with this ticket as Andreas is not currently available.

Thank you for providing the staging website login information. I asked for a second opinion from our second-tier support and will get back to you with the result of their investigation.

Thank you.


Christopher Amirian

Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Here is a report on what I have found till now:

I changed the theme to Twenty Twenty and changed the Stripe API Key to my test one.

Then I performed the SQL command below to make sure that the previously added currency information is cleared:

DELETE FROM wp_options WHERE option_name = 'wcml_payment_gateway_stripe';            

Now if you check the website in a language other than English the strip gateway shows and it processes the payment.

I still need to find out why the GBP currency mode does not show the Stripe gateway.

Thank you.


jeffC-11

Hello Christopher,

Thanks for investigating this for us. I am glad that you made a progress.
However I am still not able to process order in EUR - because of error "no shipping method has been selected". I understand that this could be related to deactivated plugins?

The other strange problem I see on that staging site is:
Once other language than English is selected, and then trying to browse some pages (shop, or products) website is loading in foreign language but immediately after redirects to English version.

I don't want now focusing on those glitches - My highest priority is to be able processing payments in all currencies when Multicurrency is activated.

Please keep track on all changes you do, So I will be able to implement those changes to live site once problem is resolved.

Many Thanks,

Jeff


jeffC-11

Hi Christopher,

We first made contact with yourselves on 21st October and have since been informed that when the individual could not find a solution, we were going to be directed to the second tier of support unfortunately this has been mentioned several times but still hasn't been rectified. I cannot stress enough that this must be resolved by the end of the day tomorrow as we have a international press release going out on Monday.

There is no way we would have purchased this plugin, should we have known there were going to be this amount of problems.

Should you require anything from me, then please do not hesitate in contacting me.

Regards

Jeff

thibaultancion.blogspot.com

Source: https://wpml.org/forums/topic/error-with-multi-currency-and-stripe/

0 Response to "Unable to Process This Payment Please Try Again Stripe"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel