Adyen / adyen-magento2-hyva

MIT License
7 stars 4 forks source link

Passing state data to the checkout success #19

Closed pmarjan-onestic closed 7 months ago

pmarjan-onestic commented 8 months ago

Currently, we have

Adyen\Hyva\Magewire\Payment\Method\AdyenPaymentComponent **line **105****

$this->session->setStateData($stateDataReceived);

In other words, the state data is saved to the checkout session, which is then used in

Adyen\Hyva\Magewire\Checkout\Success **line 80**

return json_encode($this->session->getStateData()) ?? '{}';

@RokPopov I am not sure if we have discussed this yet from PSI compliance perspective just yet? In any case, what do you think about it?

pmarjan-onestic commented 7 months ago

https://docs.adyen.com/online-payments/donations/web-component/

candemiralp commented 7 months ago

As discussed on our meeting, this code block can be removed.

pmarjan-onestic commented 7 months ago

@candemiralp the saving of state data into session (for the purposes of adyen giving) is now removed

pmarjan-onestic commented 7 months ago

This ticket can be closed