Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MC_returnurl parameter on PurchaseRequest #18

Open
ayanozturk opened this issue Aug 31, 2016 · 2 comments
Open

MC_returnurl parameter on PurchaseRequest #18

ayanozturk opened this issue Aug 31, 2016 · 2 comments

Comments

@ayanozturk
Copy link
Contributor

Hi,

I noticed that it was commented on PurchaseRequest with this commit b476ef5 that MC_returnurl is deprecated and currently the purchase request is not sending any value for this key to worldpay. In my sandbox tests, worldpay tried to redirect to itself with transStatus=Y if MC_returnurl is missing.

I would like to know if there is a configuration that I need to change on worldpay to return back to original requester after processing the payment without setting MC_returnurl?

@ayanozturk
Copy link
Contributor Author

Also I couldn't find a page to document that MC_returnurl was deprecated. Do you have a URL for that?

@delatbabel
Copy link
Contributor

I would like to know if there is a configuration that I need to change on worldpay to return back to original requester after processing the payment without setting MC_returnurl?

No, I don't believe so. I think that MC_returnurl should be set from returnUrl. You could try patching that and submit a PR. I don't have a worldpay test account so I can't test it.

I don't believe the comment implied that MC_returnurl was deprecated, just that the use of returnUrl to set MC_notifyurl was deprecated, and that MC_notifyurl should be set from notifyUrl instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants