{"id":2887,"date":"2025-05-20T14:20:59","date_gmt":"2025-05-20T06:20:59","guid":{"rendered":"https:\/\/www.deekpay.com\/?p=2887"},"modified":"2025-05-20T14:20:59","modified_gmt":"2025-05-20T06:20:59","slug":"%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4","status":"publish","type":"post","link":"https:\/\/www.deekpay.com\/ko\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/","title":{"rendered":"bKash \uacb0\uc81c\ub97c PHP\uc640 \ud1b5\ud569\ud558\ub294 \uc804\uccb4 \ub2e8\uacc4"},"content":{"rendered":"<p># bKash \uacb0\uc81c\uc640 PHP \ud1b5\ud569\uc744 \uc704\ud55c \uc804\uccb4 \ub2e8\uacc4<\/p>\n<p> 1. \uc900\ube44 \uc791\uc5c5<\/p>\n<p> \ube44\uce74\uc2dc \ud310\ub9e4\uc790 \uacc4\uc815 \ub4f1\ub85d<br \/>\n- \ube44\uce90\uc2dc \ud310\ub9e4\uc790 \ud3ec\ud138](https:\/\/merchant.bka.sh\/)\uc744 \ubc29\ubb38\ud558\uc5ec \uacc4\uc815\uc744 \ub4f1\ub85d\ud558\uc138\uc694.<br \/>\n- \ud544\uc694\ud55c \uc720\ud6a8\uc131 \uac80\uc0ac \ud504\ub85c\uc138\uc2a4 \uc644\ub8cc<br \/>\n- API \uc790\uaca9\uc99d\uba85 \uac00\uc838\uc624\uae30(API \ud0a4, API \ube44\ubc00\ubc88\ud638, \uc0ac\uc6a9\uc790 \uc774\ub984 \ubc0f \ube44\ubc00\ubc88\ud638)<\/p>\n<p> \ud658\uacbd \uc694\uad6c \uc0ac\ud56d<br \/>\n- PHP &gt;= 7.0(7.4 \uc774\uc0c1 \uad8c\uc7a5)<br \/>\n- cURL \ud655\uc7a5\uc774 \ud65c\uc131\ud654\ub418\uc5c8\uc2b5\ub2c8\ub2e4.<br \/>\n- SSL \uc778\uc99d\uc11c(\ud504\ub85c\ub355\uc158 \ud658\uacbd\uc758 \uacbd\uc6b0 HTTPS \ud544\uc694)<\/p>\n<p> 2. bKash API \uad6c\uc131<\/p>\n<p>\"`php<br \/>\n\/\/ config.php - bKash API \uad6c\uc131 \ub9e4\uac1c\ubcc0\uc218<br \/>\ndefine('BKASH_BASE_URL', 'https:\/\/tokenized.sandbox.bka.sh\/v1.2.0-beta'); \/\/ \uc0cc\ub4dc\ubc15\uc2a4 URL<br \/>\n\/\/ define('BKASH_BASE_URL', 'https:\/\/tokenized.pay.bka.sh\/v1.2.0-beta'); \/\/ \ud504\ub85c\ub355\uc158 URL<\/p>\n<p>define('BKASH_APP_KEY', 'YOUR_APP_KEY');<br \/>\ndefine('BKASH_APP_SECRET', 'YOUR_APP_SECRET');<br \/>\ndefine('BKASH_USERNAME', 'your_username');<br \/>\ndefine('BKASH_PASSWORD', 'your_password');<\/p>\n<p>\/\/ \ucf5c\ubc31 URL - \uc2e4\uc81c URL\ub85c \ubc14\uafb8\uae30<br \/>\ndefine('BKASH_CALLBACK_SUCCESS_URL', 'https:\/\/yoursite.com\/payment\/success.php');<br \/>\ndefine('BKASH_CALLBACK_FAILURE_URL', 'https:\/\/yoursite.com\/payment\/failure.php');<br \/>\n&#8220;`<\/p>\n<p> 3. \ud1a0\ud070 \uc0dd\uc131 \ubc0f \ucc98\ub9ac<\/p>\n<p>\"`php<br \/>\n\/\/ token_generator.php - bKash \uc778\uc99d \ud1a0\ud070 \uc0dd\uc131\uae30 \ud568\uc218<\/p>\n<p>\ud568\uc218 getBkashToken() {<br \/>\n    $post_token = array(<br \/>\n        \"app_key\" =&gt; BKASH_APP_KEY.<br \/>\n        \"app_secret\" =&gt; BKASH_APP_SECRET,<br \/>\n    );<\/p>\n<p>    $url = BKASH_BASE_URL . \"\/\ud1a0\ud070\ud654\/\uccb4\ud06c\uc544\uc6c3\/\ud1a0\ud070\/\uadf8\ub79c\ud2b8\";<\/p>\n<p>    $headers = array(<br \/>\n        \"\ucf58\ud150\uce20 \uc720\ud615: \uc560\ud50c\ub9ac\ucf00\uc774\uc158\/json\".<br \/>\n        \"\uc0ac\uc6a9\uc790 \uc774\ub984: \". bkash_username.<br \/>\n        \"\ube44\ubc00\ubc88\ud638: \". bkash_password.<br \/>\n    );<\/p>\n<p>    $curl = curl_init();<br \/>\n    curl_setopt($curl, CURLOPT_URL, $url);<br \/>\n    curl_setopt($curl, CURLOPT_POSTFIELDS, json_encode($post_token));<br \/>\n    curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);<br \/>\n    curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);<br \/>\n    curl_setopt($curl, CURLOPT_TIMEOUT ,30);<\/p>\n<p>     \/\/ \ud504\ub85c\ub355\uc158 \uc804\uc6a9(\uc0cc\ub4dc\ubc15\uc2a4 \ud14c\uc2a4\ud2b8\ub97c \uc704\ud574 \uc81c\uac70)<br \/>\n     \/\/ curl_setopt($ch,CURLOPT_SSL_VERIFYPEER ,true);<br \/>\n     \/\/ curl_setopt ($ch,CURLOPT_CAINFO,\"path_to_certificate\");<\/p>\n<p>     if(!empty($_SERVER['HTTP_HOST'])){<br \/>\n         if(strpos(BKAFH_BASE_URL,'sandbox') ! == false){<br \/>\n             @ini_get(\"safe_mode\") || set_time_limit(30);@ini_get(\"open_basedir\") || ini_set( \"max_execution_time\",30); @ini_get(\"open_basedir\") || ini_set(<br \/>\n         }<br \/>\n     }<\/p>\n<p>      try{<br \/>\n          \ubc18\ud658 json_decode(curl_exec ($ch),true) ;)<br \/>\n       }catch(Exception$e){return null;}<\/p>\n<p>       finally{if(is_resource ($ch)){@close();}}<br \/>\n}<br \/>\n&#8220;`<\/p>\n<p>4. \uacb0\uc81c \uc694\uccad \uc0dd\uc131 <\/p>\n<p>\"` php<br \/>\n<?php \nrequire_once'config.php'; \n\nsession_start(); \n\nif($_SERVER[\"REQUEST_METHOD\"]==\"POST\"){  \n   $_SESSION['invoice_no']=uniqid();  \n   \n   function createPaymentRequest(){  \n      global$_SESSION;  \n\n      \/* Generate or retrieve existing token *\/  \n      if(!isset($_SESSION['bkash_token'])||time()>=$_[&#8230;]){<br \/>\n         \/* Refresh token logic here *\/}  <\/p>\n<p>       \/* Prepare payment data *\/<br \/>\n       $_data=[&#8230;];   <\/p>\n<p>       \/* Make API call to create payment *\/<br \/>\n       [&#8230;]<\/p>\n<p>   }  <\/p>\n<p>}?>  <\/p>\n<form method=\"post\" action=\"\">\uae08\uc561.<input type=\"number\"...><input type=\"hidden\" name=\"trp-form-language\" value=\"ko\"\/><\/form>\n<p>&#8220;`<\/p>\n<p>5. \ucf5c\ubc31 \ucc98\ub9ac\uc758 \uc608:<\/p>\n<p>\uc131\uacf5_\ucf5c\ubc31.html.<\/p>\n<p>&#8220;`<\/p>\n<p>&#8220;`<\/p>\n<p>6. \uc644\uc804\ud55c \ud074\ub798\uc2a4 \uad6c\ud604(\uc120\ud0dd \uc0ac\ud56d):<\/p>\n<p>class.BkashPaymentGateway.PHP.<\/p>\n<p>&#8220;`<br \/>\n<?PHP namespace YourNamespace\\Payments; use Exception; class Bk ash Payment Gateway { private const SANDBOX _ BASE _ URI='[...]'; public function __construct(array$config){\/* ...*\/} public function executePayment(float$amount):array {\/* ...*\/ }}\n```\n\n\u91cd\u8981\u5b89\u5168\u6ce8\u610f\u4e8b\u9879\uff1a\n\u2022\u59cb\u7ec8\u5728\u670d\u52a1\u5668\u7aef\u9a8c\u8bc1\u4ea4\u6613\u72b6\u6001\uff0c\u4e0d\u8981\u4f9d\u8d56\u5ba2\u6237\u7aef\u54cd\u5e94\u3002\n\u2022\u59a5\u5584\u5b58\u50a8\u60a8\u7684\u51ed\u636e\uff0c\u5207\u52ff\u63d0\u4ea4\u5230\u7248\u672c\u63a7\u5236\u3002\u8003\u8651\u4f7f\u7528\u73af\u5883\u53d8\u91cf\u3002\n\u2022\u5b9e\u65bd\u9002\u5f53\u7684\u9519\u8bef\u5904\u7406\u548c\u65e5\u5fd7\u8bb0\u5f55\u3002\n\n\u6d4b\u8bd5\u5efa\u8bae\uff1a\u9996\u5148\u5728\u6c99\u76d2\u73af\u5883\u4e2d\u5f7b\u5e95\u6d4b\u8bd5\u6240\u6709\u6d41\u7a0b\u540e\u518d\u4e0a\u7ebf\u3002\u68c0\u67e5\u5404\u79cd\u8fb9\u7f18\u60c5\u51b5\u5982\u7f51\u7edc\u8d85\u65f6\u3001\u652f\u4ed8\u53d6\u6d88\u7b49\u3002\n\n\u60a8\u9700\u8981\u6839\u636e\u5b9e\u9645\u4e1a\u52a1\u9700\u6c42\u8c03\u6574\u91d1\u989d\u3001\u8d27\u5e01\u548c\u4ea7\u54c1\u4fe1\u606f\u5b57\u6bb5\u3002\u6b64\u4ee3\u7801\u63d0\u4f9b\u4e86\u57fa\u672c\u6846\u67b6\u4f46\u53ef\u80fd\u9700\u8981\u9488\u5bf9\u7279\u5b9a\u7528\u4f8b\u8fdb\u884c\u4fee\u6539\u3002# PHP\u96c6\u6210bKash\u652f\u4ed8\u7684\u5b8c\u6574\u6b65\u9aa4\uff08\u7eed\uff09\n\n 4. \u521b\u5efa\u652f\u4ed8\u8bf7\u6c42\uff08\u8be6\u7ec6\u5b9e\u73b0\uff09\n\n```php\n\/\/ create_payment.php\n\nrequire_once 'config.php';\nrequire_once 'token_generator.php';\n\nsession_start();\n\nfunction createBkashPayment($amount, $invoiceNumber) {\n    \/\/ \u83b7\u53d6\u6216\u5237\u65b0\u4ee4\u724c\n    $tokenResponse = getBkashToken();\n    \n    if(!$tokenResponse || !isset($tokenResponse['id_token'])) {\n        throw new Exception(\"\u65e0\u6cd5\u83b7\u53d6bKash\u8bbf\u95ee\u4ee4\u724c\");\n    }\n    \n    $id_token = $tokenResponse['id_token'];\n    \n    \/\/ \u51c6\u5907\u652f\u4ed8\u6570\u636e\n    $paymentData = [\n        \"mode\" => &#8220;0011&#8221;, \/\/ Tokenized Payment (0011)<br \/>\n        &#8220;payerReference&#8221; => &#8220;customer123&#8221;, \/\/ \u5ba2\u6237\u552f\u4e00\u6807\u8bc6<br \/>\n        &#8220;callbackURL&#8221; => BKASH_CALLBACK_SUCCESS_URL,<br \/>\n        &#8220;amount&#8221; => (string)$amount,<br \/>\n        &#8220;currency&#8221; => &#8220;BDT&#8221;,<br \/>\n        &#8220;intent&#8221; => &#8220;sale&#8221;,<br \/>\n        &#8220;merchantInvoiceNumber&#8221; => $invoiceNumber<br \/>\n    ];<\/p>\n<p>    $url = BKASH_BASE_URL . &#8220;\/tokenized\/checkout\/create&#8221;;<\/p>\n<p>     try {<br \/>\n         return makeBkashApiCall($url, json_encode($paymentData), [<br \/>\n             &#8216;Content-Type: application\/json&#8217;,<br \/>\n             &#8216;Authorization: &#8216;.$id_token,<br \/>\n             &#8216;X-APP-Key: &#8216;.BKASH_APP_KEY<br \/>\n         ]);<br \/>\n     } catch(Exception$e){return null;}<br \/>\n}<\/p>\n<p>function makeBkashApiCall(string$_endpoint,$_payload=null,$headers=[],bool$_isPost=true){<br \/>\n   \/* &#8230; *\/<br \/>\n}<br \/>\n&#8220;`<\/p>\n<p>5\uff0e\u6267\u884c\u652f\u4ed8\u6d41\u7a0b <\/p>\n<p>&#8220;` php<br \/>\n<?php \n\/\/ payment_page.php \n\nif($_SERVER[\"REQUEST_METHOD\"]==\"POST\"){  \n   $_SESSION['order_amount']=$_POST[\"amount\"];  \n   \n   try{  \n      $_create_response=create B k ash Payment(  \n          floatval($_SESSION['order_amount']),   \n          uniq id(\"INV-\"));  \n\n       if(!empty ($_[...]['bk ash URL'])){header (\"Location:\".$_ [...]);\n       }else{die(\"\u521b\u5efa\u4ed8\u6b3e\u5931\u8d25\");}  \n\n   }catch(Exception$e){\/* Handle error*\/}  \n\n}?>  <\/p>\n<form method=\"post\" action=\"\">\uae08\uc561.<input type=\"number\"... required><input type=\"hidden\" name=\"trp-form-language\" value=\"ko\"\/><\/form>\n<p>&#8220;`<\/p>\n<p>6. \ucf5c\ubc31 \ucc98\ub9ac \ubc0f \uc720\ud6a8\uc131 \uac80\uc0ac:<\/p>\n<p>verify_payment_status.PHP.<\/p>\n<p>&#8220;`<br \/>\n<?PHP header('Content-Type:application\/json'); require'...'; \n\ntry{\n   if(empty($_GET[\"paymentID\"]))throw new InvalidArgumentException;\n   \n   function verifyPaymentStatus(string$_payment_id):array{\n      \/* Retrieve token *\/ ;\n      \n      $_response=make B k ash Api Call(\n         BK ASH _ BASE _ URL.\"\/...\/execute?paymentID=\".$_ payment ID,[],[...],false);\n         \n      return is_array ($_ response)?[...]:[];\n   }\n   \n   exit(json encode(['success'=>true,...]))));<\/p>\n<p>}catch(...){http \uc751\ub2f5 \ucf54\ub4dc(...);}<br \/>\n&#8220;`<\/p>\n<p>7. \ud074\ub798\uc2a4 \uba54\uc11c\ub4dc\uc758 \uc804\uccb4 \uc608\uc81c\uc785\ub2c8\ub2e4:<\/p>\n<p>Bk ash \uacb0\uc81c \uac8c\uc774\ud2b8\uc6e8\uc774.PHP(\uacc4\uc18d).<\/p>\n<p>&#8220;`<br \/>\n\uacf5\uac1c \ud568\uc218 refundTransaction(<br \/>\n \ubb38\uc790\uc5f4 $_ \uacb0\uc81c ID, \ubb38\uc790\uc5f4 $_ \uacb0\uc81c ID, \ubb38\uc790\uc5f4 $_ \uacb0\uc81c ID<br \/>\n float $_ \uae08\uc561,<br \/>\n \ubb38\uc790\uc5f4 $_ trx ID ,<br \/>\n \ubb38\uc790\uc5f4 $_ reason = \"\"<br \/>\n): \ubc30\uc5f4 {<\/p>\n<p>\/* \uc785\ub825 \uc720\ud6a8\uc131 \uac80\uc0ac *\/<\/p>\n<p>return$this-&gt; \uc778\uc99d\ub41c \uc694\uccad \ub9cc\ub4e4\uae30 (<br \/>\n \"\/[...]\/\ud658\ubd88\".<br \/>\n compact ('[...]')<br \/>\n);<\/p>\n<p>}<br \/>\n&#8220;`<\/p>\n<p>8. \uc6f9\ud6c5 \ucc98\ub9ac(\uad8c\uc7a5):<\/p>\n<p>webhook_handler.PHP.<\/p>\n<p>&#8220;`<br \/>\n<?PHP \nfile put contents ('logs\/b k ash.txt',print r ($ HTTP RAW POST DATA ,true).\"\\n\\n\",FILE APPEND);\n\nif(!verifyWeb hookSignature (...))die;\n\nswitch(json decode(file get contents('php:\/\/input'),true)['transactionStatus']??''){\n case'Success':\/* Update DB *\/break;\n default:\/* Log unusual statuses *\/}\n```\n\n9. \u5b89\u5168\u589e\u5f3a\u63aa\u65bd\uff1a\n\n\u2022 IP\u767d\u540d\u5355\uff1a\u4ec5\u5141\u8bb8\u6765\u81eabKash\u5b98\u65b9IP\u7684\u8bf7\u6c42 ([\u6587\u6863](https:\/\/developer.bka.sh\/docs))\n\u2022 HMAC\u7b7e\u540d\u9a8c\u8bc1\u6240\u6709\u56de\u8c03\/webhooks\uff1a\n```\nfunction isValidCallback(array$_data):bool{\n return hash equals(\n     hash hmac('sha256',json encode([...]),BK ASH _ WEB HOOK _ SECRET),\n     [...]\n );\n}\n```\n\n10. \u9519\u8bef\u5904\u7406\u6700\u4f73\u5b9e\u8df5\uff1a\n\n\u2022 Implement exponential backoff for failed API calls:\n```\nfor($_i=0;$_i<3; ++$_ i ){\n sleep(min(pow(2,$ i ),8));\n if($response=@ some Operation())break;\n}\n```\n\n\n\u90e8\u7f72\u68c0\u67e5\u6e05\u5355\uff1a\n\u2713 SSL\u8bc1\u4e66\u6709\u6548\u4e14\u914d\u7f6e\u6b63\u786e\n\u2713 Cron job\u8bbe\u7f6e\u5b9a\u671f\u6e05\u7406\u8fc7\u671f\u4ee4\u724c \n\u2713 Database\u8868\u8bbe\u8ba1\u5305\u542b\u6240\u6709\u5fc5\u8981\u5b57\u6bb5(status,trx_id,timestamp\u7b49)\n\u2713 PCI DSS\u5408\u89c4\u6027\u5ba1\u67e5\u5b8c\u6210\n\n\u8c03\u8bd5\u63d0\u793a\uff1a\u5728\u6c99\u76d2\u73af\u5883\u4e2d\u4f7f\u7528\u6d4b\u8bd5\u53f7\u7801\uff1a\n\u2022 Customer Wallet: +880184\n\u2022 OTP\u5bc6\u7801\uff1a123456\n<\/p>","protected":false},"excerpt":{"rendered":"<p># bKash \uacb0\uc81c\uc640 PHP \ud1b5\ud569\uc744 \uc704\ud55c \uc804\uccb4 \ub2e8\uacc4 1. \uc900\ube44 \ub4f1\ub85d...<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[36],"tags":[],"class_list":["post-2887","post","type-post","status-publish","format-standard","hentry","category-36"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.9 (Yoast SEO v23.7) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u7528PHP\u96c6\u6210bKash\u652f\u4ed8\u7684\u5b8c\u6574\u6b65\u9aa4 - DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8|\u5370\u5ea6UPI\u652f\u4ed8|\u5370\u5ea6\u4e09\u65b9\u56db\u65b9\u652f\u4ed8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.deekpay.com\/ko\/2025\/05\/20\/\u7528php\u96c6\u6210bkash\u652f\u4ed8\u7684\u5b8c\u6574\u6b65\u9aa4\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u7528PHP\u96c6\u6210bKash\u652f\u4ed8\u7684\u5b8c\u6574\u6b65\u9aa4\" \/>\n<meta property=\"og:description\" content=\"# PHP\u96c6\u6210bKash\u652f\u4ed8\u7684\u5b8c\u6574\u6b65\u9aa4 1. \u51c6\u5907\u5de5\u4f5c \u6ce8\u518c&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.deekpay.com\/ko\/2025\/05\/20\/\u7528php\u96c6\u6210bkash\u652f\u4ed8\u7684\u5b8c\u6574\u6b65\u9aa4\/\" \/>\n<meta property=\"og:site_name\" content=\"DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8|\u5370\u5ea6UPI\u652f\u4ed8|\u5370\u5ea6\u4e09\u65b9\u56db\u65b9\u652f\u4ed8\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-20T06:20:59+00:00\" \/>\n<meta name=\"author\" content=\"deekpay\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"deekpay\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/\"},\"author\":{\"name\":\"deekpay\",\"@id\":\"https:\/\/www.deekpay.com\/#\/schema\/person\/91e4e842fdd04f8c957a9f642506f51d\"},\"headline\":\"\u7528PHP\u96c6\u6210bKash\u652f\u4ed8\u7684\u5b8c\u6574\u6b65\u9aa4\",\"datePublished\":\"2025-05-20T06:20:59+00:00\",\"dateModified\":\"2025-05-20T06:20:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/\"},\"wordCount\":273,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.deekpay.com\/#organization\"},\"articleSection\":[\"\u5b5f\u52a0\u62c9\u652f\u4ed8\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/\",\"url\":\"https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/\",\"name\":\"\u7528PHP\u96c6\u6210bKash\u652f\u4ed8\u7684\u5b8c\u6574\u6b65\u9aa4 - DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8|\u5370\u5ea6UPI\u652f\u4ed8|\u5370\u5ea6\u4e09\u65b9\u56db\u65b9\u652f\u4ed8\",\"isPartOf\":{\"@id\":\"https:\/\/www.deekpay.com\/#website\"},\"datePublished\":\"2025-05-20T06:20:59+00:00\",\"dateModified\":\"2025-05-20T06:20:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.deekpay.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u7528PHP\u96c6\u6210bKash\u652f\u4ed8\u7684\u5b8c\u6574\u6b65\u9aa4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.deekpay.com\/#website\",\"url\":\"https:\/\/www.deekpay.com\/\",\"name\":\"DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8|\u5370\u5ea6UPI\u652f\u4ed8|\u5370\u5ea6\u4e09\u65b9\u652f\u4ed8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.deekpay.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.deekpay.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.deekpay.com\/#organization\",\"name\":\"DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8\u548cUPI\u652f\u4ed8\u670d\u52a1\u5546\",\"url\":\"https:\/\/www.deekpay.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.deekpay.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/deekpay.com\/wp-content\/uploads\/2024\/11\/LOGO-1.png\",\"contentUrl\":\"https:\/\/deekpay.com\/wp-content\/uploads\/2024\/11\/LOGO-1.png\",\"width\":649,\"height\":191,\"caption\":\"DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8\u548cUPI\u652f\u4ed8\u670d\u52a1\u5546\"},\"image\":{\"@id\":\"https:\/\/www.deekpay.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.deekpay.com\/#\/schema\/person\/91e4e842fdd04f8c957a9f642506f51d\",\"name\":\"deekpay\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.deekpay.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/485e931d0b237ba5cfa6c7cea419d88f7e3258b4837d99943e099ff93b458f8c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/485e931d0b237ba5cfa6c7cea419d88f7e3258b4837d99943e099ff93b458f8c?s=96&d=mm&r=g\",\"caption\":\"deekpay\"},\"sameAs\":[\"https:\/\/deekpay.com\"],\"url\":\"https:\/\/www.deekpay.com\/ko\/author\/deekpay\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u7528PHP\u96c6\u6210bKash\u652f\u4ed8\u7684\u5b8c\u6574\u6b65\u9aa4 - DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8|\u5370\u5ea6UPI\u652f\u4ed8|\u5370\u5ea6\u4e09\u65b9\u56db\u65b9\u652f\u4ed8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.deekpay.com\/ko\/2025\/05\/20\/\u7528php\u96c6\u6210bkash\u652f\u4ed8\u7684\u5b8c\u6574\u6b65\u9aa4\/","og_locale":"ko_KR","og_type":"article","og_title":"\u7528PHP\u96c6\u6210bKash\u652f\u4ed8\u7684\u5b8c\u6574\u6b65\u9aa4","og_description":"# PHP\u96c6\u6210bKash\u652f\u4ed8\u7684\u5b8c\u6574\u6b65\u9aa4 1. \u51c6\u5907\u5de5\u4f5c \u6ce8\u518c&hellip;","og_url":"https:\/\/www.deekpay.com\/ko\/2025\/05\/20\/\u7528php\u96c6\u6210bkash\u652f\u4ed8\u7684\u5b8c\u6574\u6b65\u9aa4\/","og_site_name":"DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8|\u5370\u5ea6UPI\u652f\u4ed8|\u5370\u5ea6\u4e09\u65b9\u56db\u65b9\u652f\u4ed8","article_published_time":"2025-05-20T06:20:59+00:00","author":"deekpay","twitter_card":"summary_large_image","twitter_misc":{"\uae00\uc4f4\uc774":"deekpay","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/#article","isPartOf":{"@id":"https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/"},"author":{"name":"deekpay","@id":"https:\/\/www.deekpay.com\/#\/schema\/person\/91e4e842fdd04f8c957a9f642506f51d"},"headline":"\u7528PHP\u96c6\u6210bKash\u652f\u4ed8\u7684\u5b8c\u6574\u6b65\u9aa4","datePublished":"2025-05-20T06:20:59+00:00","dateModified":"2025-05-20T06:20:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/"},"wordCount":273,"commentCount":0,"publisher":{"@id":"https:\/\/www.deekpay.com\/#organization"},"articleSection":["\u5b5f\u52a0\u62c9\u652f\u4ed8"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/","url":"https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/","name":"\u7528PHP\u96c6\u6210bKash\u652f\u4ed8\u7684\u5b8c\u6574\u6b65\u9aa4 - DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8|\u5370\u5ea6UPI\u652f\u4ed8|\u5370\u5ea6\u4e09\u65b9\u56db\u65b9\u652f\u4ed8","isPartOf":{"@id":"https:\/\/www.deekpay.com\/#website"},"datePublished":"2025-05-20T06:20:59+00:00","dateModified":"2025-05-20T06:20:59+00:00","breadcrumb":{"@id":"https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.deekpay.com\/2025\/05\/20\/%e7%94%a8php%e9%9b%86%e6%88%90bkash%e6%94%af%e4%bb%98%e7%9a%84%e5%ae%8c%e6%95%b4%e6%ad%a5%e9%aa%a4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.deekpay.com\/"},{"@type":"ListItem","position":2,"name":"\u7528PHP\u96c6\u6210bKash\u652f\u4ed8\u7684\u5b8c\u6574\u6b65\u9aa4"}]},{"@type":"WebSite","@id":"https:\/\/www.deekpay.com\/#website","url":"https:\/\/www.deekpay.com\/","name":"DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8|\u5370\u5ea6UPI\u652f\u4ed8|\u5370\u5ea6\u4e09\u65b9\u652f\u4ed8","description":"","publisher":{"@id":"https:\/\/www.deekpay.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.deekpay.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/www.deekpay.com\/#organization","name":"DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8\u548cUPI\u652f\u4ed8\u670d\u52a1\u5546","url":"https:\/\/www.deekpay.com\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.deekpay.com\/#\/schema\/logo\/image\/","url":"https:\/\/deekpay.com\/wp-content\/uploads\/2024\/11\/LOGO-1.png","contentUrl":"https:\/\/deekpay.com\/wp-content\/uploads\/2024\/11\/LOGO-1.png","width":649,"height":191,"caption":"DEEKPAY-\u5370\u5ea6\u539f\u751f\u652f\u4ed8\u548cUPI\u652f\u4ed8\u670d\u52a1\u5546"},"image":{"@id":"https:\/\/www.deekpay.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.deekpay.com\/#\/schema\/person\/91e4e842fdd04f8c957a9f642506f51d","name":"deekpay","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.deekpay.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/485e931d0b237ba5cfa6c7cea419d88f7e3258b4837d99943e099ff93b458f8c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/485e931d0b237ba5cfa6c7cea419d88f7e3258b4837d99943e099ff93b458f8c?s=96&d=mm&r=g","caption":"deekpay"},"sameAs":["https:\/\/deekpay.com"],"url":"https:\/\/www.deekpay.com\/ko\/author\/deekpay\/"}]}},"_links":{"self":[{"href":"https:\/\/www.deekpay.com\/ko\/wp-json\/wp\/v2\/posts\/2887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.deekpay.com\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.deekpay.com\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.deekpay.com\/ko\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.deekpay.com\/ko\/wp-json\/wp\/v2\/comments?post=2887"}],"version-history":[{"count":1,"href":"https:\/\/www.deekpay.com\/ko\/wp-json\/wp\/v2\/posts\/2887\/revisions"}],"predecessor-version":[{"id":2888,"href":"https:\/\/www.deekpay.com\/ko\/wp-json\/wp\/v2\/posts\/2887\/revisions\/2888"}],"wp:attachment":[{"href":"https:\/\/www.deekpay.com\/ko\/wp-json\/wp\/v2\/media?parent=2887"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.deekpay.com\/ko\/wp-json\/wp\/v2\/categories?post=2887"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.deekpay.com\/ko\/wp-json\/wp\/v2\/tags?post=2887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}