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 d90c73f3 authored by Ata Berk Yılmaz's avatar Ata Berk Yılmaz Committed by GitHub

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 9b5d48cf
......@@ -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