There was a problem during payment; please try again later
-
Hi, I installed your Stripe Checkout payment plugin, but it doesn’t work.
The error is this:
There was an error during payment; please, try again laterWhat’s the problem?
The page I need help with: [log in to see the link]
-
Hello there,
hope you are doing well! ??
Can you check that API keys are correctly set?
If so, please, try to change to a default theme, it’s possible that your active theme is creating this conflict with the gateway process.
Let us know!
Hi, i just checked the api keys and they are correct, i can’t change to the default theme.?
I send you also the error log file
Please advise.
31/08/20, 18:23:23
Indirizzo IP
79.53.185.3 (dal server all’indirizzo 52.38.100.200)
Versione
2019-12-03
Origine
Dashboard — [email protected]
Correlato a
dispute — xxxxxxxxxxxxxxxxxxx
payment_intent — xxxxxxxxxxxxxxxxxxxxxx
Idempotenza
Chiave — xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxOrigine
https://dashboard.stripe.com/
Parametri query richiesta
Nessun parametro query
Corpo POST richiesta
{
? “evidence”: {
? ? “booking”: null,
? ? “cancellation_policy”: null,
? ? “credit_voucher”: null,
? ? “customer_communication”: null,
? ? “customer_signature”: null,
? ? “event_details”: null,
? ? “government_order”: null,
? ? “duplicate_charge_documentation”: null,
? ? “duplicate_charge_id”: null,
? ? “product_description”: “T-shirt “,
? ? “receipt”: null,
? ? “refund_policy”: null,
? ? “service_documentation”: null,
? ? “shipping_address”: “Via I Maggio 4\nArgelato, BO, 40050, IT”,
? ? “shipping_documentation”: null,
? ? “shipping_tracking_number”: “JD014600007942626770”,
? ? “terms_disclosure”: null,
? ? “uncategorized_file”: null
? },
? “submit”: “false”
}
Corpo risposta
{
? “id”: “du_1HKekqAwTjLII7wPYXPBSLvs”,
? “object”: “dispute”,
? “amount”: 58700,
? “balance_transaction”: “txn_1HKeq3AwTjLII7wPUHXo8dhG”,
? “balance_transactions”: [
? ? {
? ?? ?“id”: “txn_1HKeq3AwTjLII7wPUHXo8dhG”,
? ?? ?“object”: “balance_transaction”,
? ?? ?“amount”: -58700,
? ?? ?“available_on”: 1598510639,
? ?? ?“balance_type”: null,
? ?? ?“created”: 1598510639,
? ?? ?“currency”: “eur”,
? ?? ?“description”: “Chargeback withdrawal for ch_1H0359AwTjLII7wPEBufb5kq”,
? ?? ?“exchange_rate”: null,
? ?? ?“fee”: 1500,
? ?? ?“fee_details”: [
? ?? ?? {
? ?? ?? ? “amount”: 1500,
? ?? ?? ? “application”: null,
? ?? ?? ? “currency”: “eur”,
? ?? ?? ? “description”: “Dispute fee”,
? ?? ?? ? “type”: “stripe_fee”
? ?? ?? }
? ?? ?],
? ?? ?“net”: -60200,
? ?? ?“reporting_category”: “dispute”,
? ?? ?“source”: “du_1HKekqAwTjLII7wPYXPBSLvs”,
? ?? ?“status”: “available”,
? ?? ?“type”: “adjustment”
? ? }
? ],
? “case_details”: {
? ? “customer_name”: null,
? ? “note”: null
? },
? “charge”: “ch_1H0359AwTjLII7wPEBufb5kq”,
? “created”: 1598510316,
? “currency”: “eur”,
? “dispute_protection_result”: {
? ? “is_covered”: false,
? ? “protected_dispute_fee_amount”: null,
? ? “protected_dispute_fee_currency”: null,
? ? “reason_not_covered”: “not_new_checkout”
? },
? “evidence”: {
? ? “access_activity_log”: null,
? ? “billing_address”: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”,
? ? “cancellation_policy”: null,
? ? “cancellation_policy_disclosure”: null,
? ? “cancellation_rebuttal”: null,
? ? “customer_communication”: null,
? ? “customer_email_address”: “[email protected]”,
? ? “customer_name”: “Ajub Melloni”,
? ? “customer_purchase_ip”: “93.34.113.144”,
? ? “customer_signature”: null,
? ? “duplicate_charge_documentation”: null,
? ? “duplicate_charge_explanation”: null,
? ? “duplicate_charge_id”: null,
? ? “product_description”: “T-shirt “,
? ? “receipt”: “file_1HKelSAwTjLII7wP0tJcApsS”,
? ? “refund_policy”: null,
? ? “refund_policy_disclosure”: null,
? ? “refund_refusal_explanation”: null,
? ? “service_date”: null,
? ? “service_documentation”: null,
? ? “shipping_address”: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”,
? ? “shipping_carrier”: null,
? ? “shipping_date”: null,
? ? “shipping_documentation”: null,
? ? “shipping_tracking_number”: “xxxxxxxxxxxxxxx”,
? ? “uncategorized_file”: null,
? ? “uncategorized_text”: null
? },
? “evidence_details”: {
? ? “due_by”: 1602028799,
? ? “has_evidence”: true,
? ? “past_due”: false,
? ? “submission_count”: 0,
? ? “submission_limit”: 1
? },
? “evidence_submitted_at”: [
? ],
? “funds_fully_reversed”: false,
? “is_charge_refundable”: false,
? “livemode”: true,
? “metadata”: {
? },
? “payment_intent”: “xxxxxxxxxxx”,
? “reason”: “fraudulent”,
? “status”: “needs_response”
}Hi there
I just checked plugin code, and performed a test on your site
It seems that the plugin correctly redirects you to Stripe hosted form, and the problem happens once the payment has gone through, and Stripe redirected you back to checkout pageDuring this last steps, our plugin receives ID of the payment session, checks for the payment status, updates record of the payment on Stripe server, and finally completes the order on shop side
Something in these steps is failing, but it is very hard for me to tell what is the reasonSince I can see the order never goes to completed one of this steps must fail
1. Retrieve order from session_id
2. Retrieve session object
3. Retrieve payment intent object
4. Update payment intent objectIn order to unerstand what step is causing the issue, please perform a test payment; then go to Stripe Dashboard -> Developers -> Logs
Set filters to show GET requests too (here an Example)
Check requests for your last payment (they should be performed all within the time of a minute, or so)Here an example of what you should see
Requests 1
Requests 2This is the developer log on Stripe Dashboard
Any news?
Hello there,
hope you are doing well! ??
It seems the process is missing the session name from Stripe.
So, we think that the problem is related to your specific installation.Please, try to add the following snippet of code at the end of functions.php file of your theme:
if( ! function_exists( 'yith_wcstripe_change_session_param' ) ){ function yith_wcstripe_change_session_param( $param ){ return 'session'; } add_filter( 'yith_wcstripe_session_param', 'yith_wcstripe_change_session_param' ); }
Let us know.
Unfortunately it does not work. It freezes the whole website. The error is:
There has been a critical error on your website.
Either by putting the code at the end of the file or by inserting it inside function shopkeeper_enqueue_styles()
I tried to put it in the chid and main theme, always the same error.Hello there,
Thanks for contacting us and we hope you’re doing well ??
You need to set the code in the functions.php of your active theme. Don’t copy it inside of a function, you need to set it at the end of the file.
If you continue to see the error, please try to activate the debugger on your site and check the debug.log file in order to know why is not working. You can enable debugger following it https://www.ads-software.com/support/article/debugging-in-wordpress/
We hope it helps you.
Have a good day.
- The topic ‘There was a problem during payment; please try again later’ is closed to new replies.