You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.
A new endpoint transactions/{token}/complete has been added to be able to complete a
3DS 2 transaction (https://docs.spreedly.com/reference/api/v1/transactions/). The SDK cannot reach that endpoint right now so a new method like the one below should be added to src/Transaction.php
/**
* Can be used to Completes a 3DS 2 transaction in the device fingerprint stage
* See docs for more information.
*
* <code>
* // Completes a 3DS 2 transaction in the device fingerprint stage.
* Spreedly::transaction($transactionToken)->complete();
* </code>
*
*
* @return mixed
*
* @throws Exceptions\MissingTransactionTokenException
*/
public function complete()
{
if (!$this->transactionToken) {
throw new Exceptions\MissingTransactionTokenException();
}
return $this->client->post('v1/transactions/'.$this->transactionToken.'/complete.json');
}
The text was updated successfully, but these errors were encountered:
A new endpoint
transactions/{token}/complete
has been added to be able to complete a3DS 2 transaction (https://docs.spreedly.com/reference/api/v1/transactions/). The SDK cannot reach that endpoint right now so a new method like the one below should be added to
src/Transaction.php
The text was updated successfully, but these errors were encountered: