We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) 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