{"id":2372,"date":"2026-07-11T16:26:32","date_gmt":"2026-07-11T12:56:32","guid":{"rendered":"https:\/\/ploan.ir\/services\/?page_id=2372"},"modified":"2026-07-11T16:28:16","modified_gmt":"2026-07-11T12:58:16","slug":"merchant","status":"publish","type":"page","link":"https:\/\/ploan.ir\/services\/merchant\/","title":{"rendered":"\u0639\u0636\u0648\u06cc\u062a \u067e\u0632\u0634\u06a9\u0627\u0646 \u062f\u0631 \u067e\u06cc\u200c\u0644\u0648\u0646"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2372\" class=\"elementor elementor-2372\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5b86ec5 e-con-full e-flex e-con e-parent\" data-id=\"5b86ec5\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-55f8c0d elementor-widget elementor-widget-html\" data-id=\"55f8c0d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!-- \u06a9\u0627\u0646\u062a\u06cc\u0646\u0631 \u0627\u0635\u0644\u06cc -->\r\n<div class=\"credit-embed-wrap\">\r\n  <iframe\r\n    id=\"creditFrame\"\r\n    src=\"\/merchant0\/\"\r\n    title=\"Merchant App\"\r\n    scrolling=\"no\"\r\n    frameborder=\"0\"\r\n  ><\/iframe>\r\n<\/div>\r\n\r\n<!-- \u0627\u0633\u062a\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc \u0634\u062f\u0647 \u0628\u0631\u0627\u06cc \u0627\u0644\u0645\u0646\u062a\u0648\u0631 \u0648 \u0648\u0627\u06a9\u0646\u0634\u200c\u06af\u0631\u0627\u06cc\u06cc -->\r\n<style>\r\n  .credit-embed-wrap {\r\n    width: 100vw !important; \/* \u062a\u0645\u0627\u0645 \u0639\u0631\u0636 \u0635\u0641\u062d\u0647 \u0646\u0645\u0627\u06cc\u0634 *\/\r\n    margin-left: calc(-50vw + 50%) !important; \/* \u062e\u0631\u0648\u062c \u0627\u0632 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a\u200c\u0647\u0627\u06cc \u06a9\u0627\u0646\u062a\u06cc\u0646\u0631 \u0627\u0644\u0645\u0646\u062a\u0648\u0631 *\/\r\n    margin-right: calc(-50vw + 50%) !important;\r\n    overflow: hidden !important;\r\n    padding: 0 !important;\r\n    line-height: 0;\r\n  }\r\n\r\n  #creditFrame {\r\n    width: 100% !important;\r\n    border: 0 !important;\r\n    display: block !important;\r\n    min-height: 200px;\r\n    transition: height 0.2s ease-out; \/* \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u067e\u0631\u0634 \u0646\u0627\u06af\u0647\u0627\u0646\u06cc \u0647\u0646\u06af\u0627\u0645 \u0644\u0648\u062f *\/\r\n    padding: 0 !important;\r\n    margin: 0 !important;\r\n  }\r\n<\/style>\r\n\r\n<!-- \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u062a\u0646\u0638\u06cc\u0645 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0627\u0631\u062a\u0641\u0627\u0639 -->\r\n<script>\r\n  function resizeCreditFrame() {\r\n    const iframe = document.getElementById('creditFrame');\r\n    if (!iframe || !iframe.contentWindow) return;\r\n\r\n    try {\r\n      const doc = iframe.contentWindow.document;\r\n      \r\n      \/\/ \u0645\u062d\u0627\u0633\u0628\u0647 \u0627\u0631\u062a\u0641\u0627\u0639 \u0645\u062d\u062a\u0648\u0627\u06cc \u062f\u0627\u062e\u0644 \u0622\u06cc\u200c\u0641\u0631\u06cc\u0645\r\n      const contentHeight = Math.max(\r\n        doc.body.scrollHeight, \r\n        doc.documentElement.scrollHeight,\r\n        doc.body.offsetHeight\r\n      );\r\n\r\n      if (contentHeight > 0) {\r\n        iframe.style.height = contentHeight + 'px';\r\n      }\r\n    } catch (e) {\r\n      console.warn('Access denied: Iframe source might be on a different domain or CORS is restricted.');\r\n    }\r\n  }\r\n\r\n  const iframe = document.getElementById('creditFrame');\r\n  if (iframe) {\r\n    iframe.addEventListener('load', function () {\r\n      \/\/ \u0627\u062c\u0631\u0627\u0647\u0627\u06cc \u0686\u0646\u062f\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0628\u0631\u0627\u06cc \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u0627\u0632 \u0645\u062d\u0627\u0633\u0628\u0627\u062a \u062f\u0642\u06cc\u0642 \u067e\u0633 \u0627\u0632 \u0644\u0648\u062f \u0634\u062f\u0646 \u06a9\u0627\u0645\u0644 \u062a\u0635\u0627\u0648\u06cc\u0631 \u0648 \u0627\u0644\u0645\u0627\u0646\u200c\u0647\u0627\r\n      resizeCreditFrame();\r\n      setTimeout(resizeCreditFrame, 500);\r\n      setTimeout(resizeCreditFrame, 1500);\r\n      setTimeout(resizeCreditFrame, 3000);\r\n    });\r\n  }\r\n\r\n  \/\/ \u0627\u0635\u0644\u0627\u062d \u0627\u0631\u062a\u0641\u0627\u0639 \u0647\u0646\u06af\u0627\u0645 \u062a\u063a\u06cc\u06cc\u0631 \u0633\u0627\u06cc\u0632 \u0645\u0631\u0648\u0631\u06af\u0631 (\u0686\u0631\u062e\u0634 \u0645\u0648\u0628\u0627\u06cc\u0644 \u06cc\u0627 \u0631\u06cc\u0633\u0627\u06cc\u0632 \u067e\u0646\u062c\u0631\u0647)\r\n  window.addEventListener('resize', () => {\r\n    setTimeout(resizeCreditFrame, 200);\r\n  });\r\n<\/script>\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":-1,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-2372","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/ploan.ir\/services\/wp-json\/wp\/v2\/pages\/2372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ploan.ir\/services\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ploan.ir\/services\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ploan.ir\/services\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ploan.ir\/services\/wp-json\/wp\/v2\/comments?post=2372"}],"version-history":[{"count":4,"href":"https:\/\/ploan.ir\/services\/wp-json\/wp\/v2\/pages\/2372\/revisions"}],"predecessor-version":[{"id":2376,"href":"https:\/\/ploan.ir\/services\/wp-json\/wp\/v2\/pages\/2372\/revisions\/2376"}],"wp:attachment":[{"href":"https:\/\/ploan.ir\/services\/wp-json\/wp\/v2\/media?parent=2372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}