• Resolved wpostest

    (@wpostest)


    Hi,
    After cancel order clients are redirect to “order recived” page with information about recived order and then email is sending to them.

    Is there any way to redirect clients after unsucesfull payment or cancel order to custom page and prevent emails sending to them?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @wpostest,

    The Stripe plugin never redirects to the order received page unless the payment is successful. What payment method are you referring to within the Stripe plugin? Cards, GPay, Apple Pay, etc.

    Can you elaborate on what you mean by After cancel order clients are redirect to.

    How is your customer cancelling an order?

    Kind Regards,

    Thread Starter wpostest

    (@wpostest)

    Thank you for fast replay. I hope you can help me.
    I use “Przelewy24” payment method.

    There is the visualisation
    1. https://prnt.sc/20ekk5b (Select payment and buy)
    2. https://prnt.sc/20el3ov (Cancel payment)
    3. https://prnt.sc/20el5wf (Back to shop)
    4. https://prnt.sc/20el71g (Back to shop)
    5. https://prnt.sc/20elehs (“orders/orders-recived” page)

    I dont want to show clients step 5 (order recived page) and set order in woocomerce when their cancel order. Is there any solution for that?

    Take care

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @wpostest,

    prnt.sc never works. I recommend uploading your screenshots to something like imgur.

    Kind Regards,

    Thread Starter wpostest

    (@wpostest)

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @wpostest,

    The Stripe plugin always returns to the checkout page if the customer’ cancels the local payment method.

    If you look in the Stripe logs for that payment you will see a redirect_url value. That is the url that the customer is take to if they cancel the payment. That should point to your checkout page but if it doesn’t that means some other functionality is interfering with that value.

    If it does point to your checkout page then that means something is interfering with the redirect.

    Kind Regards,

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @wpostest,

    Can you confirm if you are clicking a Cancel button or clicking the Back to shop button?

    Kind Regards,

    Thread Starter wpostest

    (@wpostest)

    Hi @mrclayton,

    The redirect URL is working correctly. Clients are returned to the checkout page. When they cancel the order or if they successfully pay for the order.

    All the problem is there:
    I don’t want to show clients the checkout page and create orders when they cancel the order meanwhile payment because after that they cant pay again for this order.

    Maybe is there exists any hook that I can use to redirect clients after an unsuccessful payment and then prevent creating an order?

    Take care

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @wpostest,

    Apologies but I am confused by your last reply.

    You say:

    The redirect URL is working correctly. Clients are returned to the checkout page. When they cancel the order or if they successfully pay for the order.

    Then you say:

    I don’t want to show clients the checkout page and create orders when they cancel the order

    So you said when they cancel they go back to the checkout page but then you said when they cancel they go to thank you page.

    If you prefer you can reach out to us via the Help button in the settings pages. Perhaps there is a change we should make in the plugin for this scenario and you can help test.

    Kind Regards,

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Unsucesfull payment or cancel order’ is closed to new replies.