Code Monkey home page Code Monkey logo

Comments (4)

peterpp avatar peterpp commented on August 18, 2024

Hello, PENDING is a regular order state and can last really long. You have two options:

a) Implement asynchronous notification mechanism
If you set notifyUrl parameter while creating an order, PayU will call this URL with every status change.

b) Actively wait for the order to be finished
You can call OpenPayU_Order::retrieve in some smart cycle (let's say every 5 seconds, up to 30 seconds). But be beware, that finishing the order can take much longer! I've seen 5 minutes interval even with Apple Pay in real life. So you still need to handle longer payments in some asynchronous way.

from openpayu_php.

regdos avatar regdos commented on August 18, 2024

Hello.

In $response should be redirect url to 3DS, you need to redirect to it.

from openpayu_php.

prugala avatar prugala commented on August 18, 2024

@peterpp @regdos thank you for you response.
I'm using sandbox card 4444333322221111 and there is no 3DS. In response don't have redirectUri property.

Im checking status with OpenPayU_Order::retrieve after 10-15 minutes and still is pending

Example orderId: X46VN8NSD2240110iafvzis8P01

I attach screenshots with order response, order payload, and response from retrieve method.

Screenshots are from two different orders but response is always same for all orders.

Order response: Zrzut ekranu 2024-01-10 o 17 24 47

Order payload:
Zrzut ekranu 2024-01-10 o 17 25 18

retrieve response:
Zrzut ekranu 2024-01-10 o 17 28 22

from openpayu_php.

regdos avatar regdos commented on August 18, 2024

I can see that use stored card token to recurring payment.
First transaction this token must be with 3DS so please use card with challenge from https://developers.payu.com/europe/pl/docs/testing/sandbox/#sandbox-test-cards

Please reffer with https://developers.payu.com/europe/pl/docs/payment-solutions/cards/tokenization/ and if you will have problem please contact to BOK PayU.

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.