If for some reason the MerchantReference or EmailAddress does not mach the expected results an error will be thrown as it tried to gather the actual return values from an undefined variable ($payment should be $response)

This was added in commit http://drupalcode.org/project/commerce_dps.git/commit/ba7cf88.

Comments

craigstanton’s picture

Fixed by changing references to $payment to $response

craigstanton’s picture

Status: Active » Needs review
xurizaemon’s picture

Thanks, will test this out, it looks fine.

Did you run into this when using sub-addressed emails (ex user+test123@example.org)?

That is a known issue (#1928454: Orders containing + sign may fail transaction validation) which appears to be at DPS side. Bit of a pain for testing, and for shoppers who sub-address emails to track spam.

xurizaemon’s picture

Issue summary: View changes
Status: Needs review » Fixed
Related issues: +#1928454: Orders containing + sign may fail transaction validation

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.