rotassator / omnipay-payway-restapi

PayWay REST API gateway for Omnipay payment processing library
MIT License
4 stars 11 forks source link

Adding singleUseTokenId in PurchaseRequest #4

Closed ArjunKishore closed 7 years ago

ArjunKishore commented 7 years ago

As per the trusted frame documentation, It is possible for us to make a payment transaction without creating new customer. https://www.payway.com.au/docs/rest.html#transactions

This is possible if we send singleUseTokenId in data array Message/PurchaseRequest.php line number 40

if($this->getSingleUseTokenId()){ $data['singleUseTokenId'] = $this->getSingleUseTokenId(); }