Skip to content

[Payum] Return URL missing for Paypal #1605

@winzou

Description

@winzou

Still on my paypal serie =)

Since (I guess) this change: https://github.com/Sylius/Sylius/pull/1360/files#diff-399c942287fddfc27a45f2692e55c0e0L52
My payment has nothing for returnUrl and cancelUrl. So I'm asked to pay on Paypal endlessly:

When I print $model['RETURNURL'] here https://github.com/Payum/Payum/blob/master/src/Payum/Paypal/ExpressCheckout/Nvp/Action/CaptureAction.php#L37 I got a a value, but not sure it's the good one (shoudn't it be /checkout/purchase/forward?): /payment/capture/rWuZExIkiwvuTz-DB_L6aeE4R6c0YmSHJyaZ85ke-u8. In all cases, this value is not registered in the payment details.

In the security token though, I have the right after_url: /checkout/purchase/forward?payum_token=sivusLwmB-IvjtH4vsJemwwQ5U1YySoPXsU8i_-ZPmM. Why it never redirects to this URL?

@makasim Do I miss something? Any idea?

Does anyone run Paypal successfully on sylius master?

Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions