We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit 0824f78b authored by Ata Berk Yılmaz's avatar Ata Berk Yılmaz Committed by Marcos Garcia

Allow guest checkout for payment methods requiring shopperReference, such as Oney (#868)

Co-authored-by: default avatarAttila Kiss <42297201+cyattilakiss@users.noreply.github.com>
parent 34bbb13c
......@@ -103,7 +103,7 @@ class Requests extends AbstractHelper
if ($customerId > 0) {
$request['shopperReference'] = $customerId;
}
elseif ($this->adyenHelper->isGuestTokenizationEnabled($storeId)){
else {
$uuid = Uuid::generateV4();
$guestCustomerId = $payment->getOrder()->getIncrementId() . $uuid;
$request['shopperReference'] = $guestCustomerId;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment