Open paras-malhotra opened 5 years ago
In PurchaseRequest.php there is a comment that says "For Off-Site Payment", which I assume means off site payment is supported by omnipay-razorpay.
PurchaseRequest.php
However, the following code does not make any transaction and even the response message is null:
$gateway = Omnipay::create("Razorpay_Checkout"); $gateway->setKeyID('...'); $gateway->setKeySecret('...'); $gateway->setTestMode(true); $response = $gateway->purchase([ 'amount' => '1000', 'transactionId' => 'some-order-id', 'currency' => 'INR', 'cancelUrl' => 'http://www.example.com/cancel', 'returnUrl' => 'http://www.example.com/return', ])->send();
I confirm the null return, #10
@captn3m0 can you please look into this issue?
If I look at the issues and the pull requests then it seems to be abandoned. Am I correct ?
In
PurchaseRequest.php
there is a comment that says "For Off-Site Payment", which I assume means off site payment is supported by omnipay-razorpay.However, the following code does not make any transaction and even the response message is null: