digistorm / omnipay-mpgs

Mastercard Payment Gateway Service (MPGS) driver for the Omnipay PHP payment processing library
3 stars 5 forks source link

The transactionId parameter is required #1

Open sheikh0775 opened 4 years ago

sheikh0775 commented 4 years ago

I am getting below error while calling purchase->send method

"message": "The transactionId parameter is required", "exception": "Omnipay\Common\Exception\InvalidRequestException", "file": "/var/www/vendor/omnipay/common/src/Common/ParametersTrait.php"

how can we generate the transactionId for the order? Is i am doing something wrong while calling the method.

assadnazar commented 2 years ago

Transaction is is generated by the initiator. You can create any random alphanumeric Id for your reference for the transaction.