Code Monkey home page Code Monkey logo

Comments (14)

peterpp avatar peterpp commented on August 18, 2024 1

@TayyabAslam123
I still have no response from IT support.
I sent you an email to a address in your profile. This problem is not related to PHP client, so we don't need to discuss it here.

from openpayu_php.

peterpp avatar peterpp commented on August 18, 2024

Same issue here. From 27.7.2022 we are receiving redirection to 3DSecure page for Apple Pay payments. If we do not process this redirection and show an error to users instead, payments are still confirmed and charged automatically on PayU/bank side. This looks like a serious bug from our point of view. I also contancted PayU technical support.

from openpayu_php.

TayyabAslam123 avatar TayyabAslam123 commented on August 18, 2024

@peterpp
Yes exactly same thing happening with me .
My all transaction is working like before but now its giving warning instead of success message.
My all code was written against success response.
Kindly please let me know if support give you any reply.
Is this safe to use transaction with warning coming ?

from openpayu_php.

peterpp avatar peterpp commented on August 18, 2024

Is this safe to use transaction with warning coming ?

If you check transaction status and it is COMPLETED than yes.

Kindly please let me know if support give you any reply.

OK, no problem.

from openpayu_php.

TayyabAslam123 avatar TayyabAslam123 commented on August 18, 2024

@peterpp
You are talking about to check transaction status from Dashboard ?

from openpayu_php.

peterpp avatar peterpp commented on August 18, 2024

@TayyabAslam123

You are talking about to check transaction status from Dashboard ?

Not exatly. I don't know what is your implementation, but we are doing this automatically via REST API:
https://developers.payu.com/en/restapi.html#order_data_retrieve
or you can receive transaction status in notifications:
https://developers.payu.com/en/restapi.html#notifications

from openpayu_php.

TayyabAslam123 avatar TayyabAslam123 commented on August 18, 2024

@peterpp
Yes I am using Rest Api to make payments then check the API response and continue my working .
Till last week it gives me 'statusCode' => 'SUCCESS', and I show user that payment is successful.
But now as response is changed my code flow is effected and it started making issue.

If I use status ('statusCode' => 'SUCCESS' || 'statusCode' => 'WARNING_CONTINUE_3DS' )
is it safe , as adding these all my working is going according to flow.

Thanks

from openpayu_php.

peterpp avatar peterpp commented on August 18, 2024

@TayyabAslam123

No, condition ('statusCode' => 'SUCCESS' || 'statusCode' => 'WARNING_CONTINUE_3DS' ) is not safe to use in general.

We use this quick workaround right now:

if ($result->getStatus() == "WARNING_CONTINUE_3DS" && ($paymentMethod == PaymentMethod::APPLE_PAY || $paymentMethod == PaymentMethod::GOOGLE_PAY)) {
    for ($i = 0; $i < 4; $i++) {
        sleep(5);

        $order = $this->getOrder($response->orderId); // calls OpenPayU_Order::retrieve($orderId)

        // GOTCHA! We successfully catch card payment after 3DSecure exception.
        if ($order->getStatus() == PaymentOrder::STATUS_COMPLETED) {
            return  $response->orderId;
        }
    }
}

from openpayu_php.

TayyabAslam123 avatar TayyabAslam123 commented on August 18, 2024

Actually I am using.

 'payMethod'=> array(
                        "type" => "CARD_TOKEN",
                        "value"=> $card_token
                    )

So I make first payment from card and save its token for payments every month.
It gives success message on my first payment and when I am capturing more payments it gives me WARNING_CONTINUE_3DS .

So I have to use both status code.

from openpayu_php.

peterpp avatar peterpp commented on August 18, 2024

@TayyabAslam123

Ohhhh, if you use recurring payments and receive WARNING_CONTINUE_3DS in subsequent payments, this is a huge bug in PayU system and I would ignore 3DSecure in your situation. And you should definitelly contact IT support as well.

from openpayu_php.

TayyabAslam123 avatar TayyabAslam123 commented on August 18, 2024

@peterpp
Can you please tell , me where to contact IT support .
And what IT support guide you in this matter ?

from openpayu_php.

TayyabAslam123 avatar TayyabAslam123 commented on August 18, 2024

@peterpp Thank you :)
I don't understand what should I do now in such case , I have completed all my working last week , but now response against making payment changed .

Do you think implementing 3D secure functionality will solve the problem ?

from openpayu_php.

peterpp avatar peterpp commented on August 18, 2024

From IT support in short: WARNING_CONTINUE_3DS can happen if PayU doesn't know the exact authorization result at the moment of creating an order. In this case, they send redirection to a web page that just wait for a while for the result. If the order is confirmed by the bank, the page is redirected back to the service. This can by hidden in an iframe: https://developers.payu.com/en/3ds_2.html#handling_iframe

So our workaround for Apple Pay is OK, because we do the exact same thing on the backend side.

from openpayu_php.

TayyabAslam123 avatar TayyabAslam123 commented on August 18, 2024

@peterpp
Thanks , you replied regarding that.
Actually I have tested on live domain last friday.
My all payments that are captured , are showing as a successful transaction.
But still the response remain same WARNING_CONTINUE_3DS .
Is it okay if I proceed with this ?

from openpayu_php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.