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

URLC notifications not accepted if the user changes his email on dotPay site #2

Closed
lklimek opened this issue Nov 8, 2016 · 2 comments
Assignees

Comments

@lklimek
Copy link
Contributor

lklimek commented Nov 8, 2016

When users' e-mail does not match e-mail address from order, URLC notifications don't work.
Using latest 2.0.2 release.

Steps to reproduce:

  1. Configure dotpay payment method rule as follows:
  • fill in seller ID and PIN with data from test service
  • set test mode to on
  • dotpay widget disabled
  • all other options - disabled or empty
  1. Place new order with e-mail "me@somedomain.com"
  2. Select payment with dotPay
  3. Drupal creates redirect to dotPay website; in my case, selected payment method is "mBank mTransfer" and you can fill in personal data: first name (it's empty), last name (it's empty), e-mail

POST request is sent to https://ssl.dotpay.pl/test_payment/ ; request parameters (anonymized):
id: xxxxxx
amount:10.00
currency:PLN
control:173
description:Order 173
lang:pl
URL:http://some.url/dotpay/173/back
URLC:http://some.url/dotpay/confirm
type:0
ch_lock:0
api_version:dev
email:pawel@somewhere.com
bylaw:1
personal_data:1
p_info:some.url
chk:75c16.................

  1. Fill in first name, last name and change email to "lukasz@somewhere.com" (or any other value).
  2. Click "Pay"
  3. Click "Accept"
  4. Click "Next".
  5. DotPay displays: Payment result: completed. Click "back to shop".
  6. Browser goes back to Drupal ( /dotpay/173/back?status=OK ). It displays "Payment wait for confirmation by Dotpay"
  7. Wait until you'll get timeout ("Timeout of waiting for confirmation of payment")
  8. Go to dotPay admin panel and check the order there. You'll see that URLC has failed with "DrupalCommerce - FAIL EMAIL"
@tbajorek
Copy link
Contributor

tbajorek commented Nov 9, 2016

Please to try it now, after last commit.

@tbajorek tbajorek self-assigned this Dec 9, 2016
@lklimek
Copy link
Contributor Author

lklimek commented Dec 12, 2016

Works for me in the last release.

@lklimek lklimek closed this as completed Dec 12, 2016
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