Ask a Question

How long will it take for my account to be activated?

Usuallly how much time does it takes for an account to open and send the payment link?


Create order : it is showing Authentication error. I mentioned correct API keys but it is showing Authentication error ,Please tell me where the issue is. $response = $client->request('POST', '<https://sandbox.cashfree.com/pg/orders'>, \[ 'body' => '{"order_id":"string","order_amount":10.15,"order_currency":"INR","customer_details":{"customer_id":"7112AAA812234","customer_email":"[[email protected]](mailto:[email protected])","customer_phone":"9908734801","customer_bank_account_number":"1518121112","customer_bank_ifsc":"CITI0000001","customer_bank_code":3333},"order_meta":{"return_url":"<https://b8af79f41056.eu.ngrok.io?order_id={order_id}&order_token={order_token}","notify_url":"https://b8af79f41056.eu.ngrok.io/webhook.php"},"order_expiry_time":"2021-07-29T00:00:00Z","order_note":"Test> order","order_tags":{"additionalProp":"string"},"order_splits":[{"vendor_id":"Vendor01","amount":"100.1"}]}', 'headers' => [ 'accept' => 'application/json', 'content-type' => 'application/json', 'x-api-version' => '2022-01-01', 'x-client-id' => '2712300f7cc5348f6ce5869ee6032172', 'x-client-secret' => 'c7ea5207f9420047d107ab180cb45d8fec2c8357', ], ]); echo $response->getBody(); { "code": "request_failed", "type": "authentication_error", "message": "authentication Failed" }

for payment link getting 404

after creating order the api returns the reponse that reposne payment link returns the 404 not found "paymentLink": "<https://payments-test.cashfree.com/order/#PPl4Gn2B586EePnLkN0O">,

do cashfree provide developer account for testing purpose

do cashfree provide developer account for testing purpose

return url not working

my order is created using payment i have done payment also in request i am passing return url but its not redirected to that return url after payment request data: code: define('CREATE_ORDER_API_URL', $create_order_api_url); $curl = curl_init(); ``` //prepare post data $data = [ 'appId' => CASHFREE_MERCHANT_APP_ID, 'secretKey' => CASHFREE_MERCHANT_SECRET_KEY, 'orderId' => '5464534', 'customerName' => 'test', 'orderAmount' => '10', 'customerPhone'=> '789878987', 'customerEmail'=>'[email protected]', 'returnUrl' => 'https://6869-124-66-172-81.ngrok-free.app/payment/payment/cashfree/test.php', 'orderNote' => ORDER_NOTE, 'mode' => CASHFREE_MODE, 'notifyUrl' =>'https://6869-124-66-172-81.ngrok-free.app/payment/payment/cashfree/test.php' ]; ksort($data); $signatureData = ""; foreach ($data as $key => $value){ $signatureData .= $key.$value; } $signature = hash_hmac('sha256', $signatureData, CASHFREE_MERCHANT_SECRET_KEY,true); $signature = base64_encode($signature); $data['signature'] = $signature; //curl params for post payment curl_setopt($curl, CURLOPT_URL, CREATE_ORDER_API_URL); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_POSTFIELDS, $data); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); $response = curl_exec($curl); ``` //check response and do the needful. if($response !='') { $returnValue = json_decode($response); $paymentLink = $returnValue->paymentLink; if($paymentLink != ''){ @header("Location: $paymentLink"); die; }else{ echo $response; } } ``` curl_close($curl); ``` ![](https://files.readme.io/c44b1d5-image.png) request you to guid me in the same Thanks

Aadhar Verification Queries

I have following questions: 1. What all data can we store on our servers after a successfull request? 2. What are various rules/regulations, if any, are needed to be followed while using these APIs? 3. For how long does Cashfree keep the data on their Servers? 4. If I validate an Aadhar using APIs will I be able to see the same requested data on Cashfree portal itself or is it just through APIs?

Vendor settlement webhook

Can you explain the vendor settlement webhook verify signature with an clear detailed step wise solution with an perfect example

What happend to php sdk

Why i can't use this code require 'vendor/autoload.php'; \\ $cfConfig = new CFConfig(CFEnvironment::SANDBOX, "app_id", "secret id"); $cfHeader = new CFHeader("x_request_id", "x_idempotency_key"); is showing CFconfig is undefnied

How to download cashfree sdk use composer

How to download cashfree sdk use composer pleasegive me the command or give me the github link