• Resolved melvindrm

    (@melvindrm)


    Hello,

    Pleasure to greet you.

    I’m using this plugin to redirect the users to a 3rd party payment gateway, so they can pay there and then they will be sent back to my site.

    I have a 2-part question and I really hope you can help me:

    1) What’s the return URL? So I can tell the 3rd party to send the response there

    2) Where can I write the logic to interpret that response? The 3rd party will send me an XML but I don’t know where can I write that code

    I honestly don’t know if this is something within the scope of the plugin but I need some directions and I was hoping you guys can point me in the right direction.

    Thanks in advance,

    Melvin

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Waseem Senjer

    (@waseem_senjer)

    Hello Melvin,
    I am not sure if you use exactly this plugin or the paid version of it. But regardless of that, you can find the answer to these questions at the documentation of the plugin: https://wpruby.com/knowledgebase/woocommerce-custom-payment-gateway-settings/

    Please, let me know if you have any further questions.

    Best Regards,
    Waseem

    Thread Starter melvindrm

    (@melvindrm)

    Hello Waseem,

    Thanks for your reply.

    As far as I know, the paid version is the one installed. It was already installed when I received the project. It says Pro in the plugin list but I’m not sure if it always says that or just for the paid version.

    Now, back to business. The docs says the following:

    At the success or failure URL at the Extra API Parameters option, the key should be as in your 3rd payment gateway documentation and the value should be something like this: https://yourdomain.com/?wc-api=wc_custom_payment_gateway

    So my question is: is it always https://yourdomain.com/?wc-api=wc_custom_payment_gateway the return URL (yourdomain.com as the website’s domain of course)?

    Then, it says that I need to use the custom_payment_process_returned_result action, but I can’t find anything related to that action in the plugin code. Is it supposed to be like that?

    Thanks and regards,

    Melvin

    EDIT: I checked the plugin’s website and my version of the plugin has all the checks so I’m guessing it’s the Pro version

    • This reply was modified 6 years, 7 months ago by melvindrm.
    • This reply was modified 6 years, 7 months ago by melvindrm.
    • This reply was modified 6 years, 7 months ago by melvindrm.
    Plugin Author Waseem Senjer

    (@waseem_senjer)

    Hello Melvin,

    since you are using the paid version, I recommend that you open a support ticket at https://wpruby.com/submit-ticket/ for better support.

    Best Regards,
    Waseem

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Return URL and logic to receive parameters’ is closed to new replies.