razorpay / omnipay-razorpay

Razorpay plugin for Omnipay Payment Processing Library
MIT License
1 stars 11 forks source link

Off-site payment not working #9

Open paras-malhotra opened 5 years ago

paras-malhotra commented 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.

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();
actnow commented 5 years ago

I confirm the null return, #10

paras-malhotra commented 5 years ago

@captn3m0 can you please look into this issue?

zimdin12 commented 2 years ago

If I look at the issues and the pull requests then it seems to be abandoned. Am I correct ?