{"id":238915,"date":"2025-07-24T05:34:46","date_gmt":"2025-07-24T05:34:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/integrate-getpay-with-wc\/"},"modified":"2025-09-12T09:54:55","modified_gmt":"2025-09-12T09:54:55","slug":"getpay-payment-integration","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/getpay-payment-integration\/","author":23302354,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"6.4.8","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"GetPay Payment Integration","header_author":"citytechwp","header_description":"Enable secure and smooth card payments in WooCommerce with Getpay\u2019s web checkout system.","assets_banners_color":"","last_updated":"2025-09-12 09:54:55","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/citytech.global","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/getpay-payment-integration\/","header_author_uri":"https:\/\/citytech.global","rating":0,"author_block_rating":0,"active_installs":20,"downloads":474,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0":{"tag":"1.0","author":"citytechglobal","date":"2025-07-28 04:57:27"},"1.0.0":{"tag":"1.0.0","author":"citytechglobal","date":"2025-07-28 05:14:36"},"1.0.1":{"tag":"1.0.1","author":"citytechglobal","date":"2025-09-12 09:54:55"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3333350,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3333350,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.0","1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1890,245327,14484,507,286],"plugin_category":[45],"plugin_contributors":[245328],"plugin_business_model":[],"class_list":["post-238915","plugin","type-plugin","status-publish","hentry","plugin_tags-gateway","plugin_tags-getpay","plugin_tags-nepal","plugin_tags-payment","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-citytechglobal","plugin_committers-citytechglobal"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/getpay-payment-integration\/assets\/icon-128x128.png?rev=3333350","icon_2x":"https:\/\/ps.w.org\/getpay-payment-integration\/assets\/icon-256x256.png?rev=3333350","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>A secure payment gateway plugin for WooCommerce using GetPay.<\/p>\n\nGetPay WooCommerce Integration\n\n<p>A secure payment gateway plugin that integrates the <strong>GetPay<\/strong> payment system with <strong>WooCommerce<\/strong> for WordPress e-commerce stores.<\/p>\n\n<!-- TOC -->\n\n<h3>Table of Contents<\/h3>\n\n<ul>\n<li><a href=\"#prerequisites\">Prerequisites<\/a><\/li>\n<li><a href=\"#installation\">Installation<\/a><\/li>\n<li><a href=\"#configuration\">Configuration<\/a><\/li>\n<li><a href=\"#page-setup\">Page Setup<\/a><\/li>\n<li><a href=\"#testing\">Testing<\/a><\/li>\n<li><a href=\"#troubleshooting\">Troubleshooting<\/a><\/li>\n<li><a href=\"#support\">Support<\/a><\/li>\n<li><a href=\"#security-notes\">Security Notes<\/a><\/li>\n<li><a href=\"#changelog\">Changelog<\/a><\/li>\n<\/ul>\n\n\n\n<h3>Prerequisites<\/h3>\n\n<p>Before installing the GetPay plugin, ensure you have:<\/p>\n\n<ul>\n<li>\u2705 WordPress site with admin access<\/li>\n<li>\u2705 WooCommerce plugin installed and activated<\/li>\n<li>\u2705 GetPay merchant account (credentials from your bank)<\/li>\n<li>\u2705 SSL certificate installed (recommended for security)<\/li>\n<\/ul>\n\n\n\n<h3>Configuration<\/h3>\n\n<h3>Step 1: Access Payment Settings<\/h3>\n\n<ul>\n<li>Navigate to <strong>WooCommerce &gt; Settings &gt; Payments<\/strong><\/li>\n<li>Locate <strong>GetPay Gateway<\/strong> in the list<\/li>\n<li>Click <strong>Manage<\/strong> or <strong>Set up<\/strong><\/li>\n<\/ul>\n\n<h3>Step 2: Configure Required Fields<\/h3>\n\n\n\n\n  Field\n  Description\n  Example\n\n\n\n\n  <strong>Enable<\/strong>\n  Check to activate GetPay\n  \u2611\ufe0f\n\n\n  <strong>Title<\/strong>\n  Customer-facing payment title\n  GetPay\n\n\n  <strong>PAP Info<\/strong>\n  Payment Application Provider info (from bank)\n  <code>eyJpbn...<\/code>\n\n\n  <strong>OPR Key<\/strong>\n  Operational key\n  <code>4fa4c6b9-...<\/code>\n\n\n  <strong>INS Key<\/strong>\n  Institution key (if any)\n  (blank)\n\n\n  <strong>Website Domain<\/strong>\n  Your site domain (with HTTPS)\n  <code>https:\/\/your-site.com<\/code>\n\n\n  <strong>Bundle JS URL<\/strong>\n  GetPay JS bundle\n  <code>https:\/\/minio.finpos.global\/...\/bundle.min.js<\/code>\n\n\n  <strong>Success URL<\/strong>\n  Redirect on successful payment\n  <code>https:\/\/your-site.com\/success<\/code>\n\n\n  <strong>Fail URL<\/strong>\n  Redirect on failed payment\n  <code>https:\/\/your-site.com\/fail<\/code>\n\n\n  <strong>Base URL<\/strong>\n  GetPay API base endpoint\n  <code>https:\/\/uat-bank-getpay.nchl.com.np\/...<\/code>\n\n\n\n\n<ul>\n<li>Click <strong>Save Changes<\/strong><\/li>\n<\/ul>\n\n\n\n<h3>Page Setup<\/h3>\n\n<h3>Step 1: Create Pages<\/h3>\n\n<p>Create the following pages via <strong>Pages &gt; Add New<\/strong>:<\/p>\n\n<h4>\ud83d\uded2 Cart Page<\/h4>\n\n<ul>\n<li><strong>Title:<\/strong> Cart<\/li>\n<li><strong>Content:<\/strong> <code>[woocommerce_cart]<\/code><\/li>\n<\/ul>\n\n<h4>\ud83d\udcb3 Checkout Page<\/h4>\n\n<ul>\n<li><strong>Title:<\/strong> Checkout<\/li>\n<li><strong>Content:<\/strong> <code>[woocommerce_checkout]<\/code><\/li>\n<\/ul>\n\n<h4>\ud83d\udcb0 Payment Page<\/h4>\n\n<ul>\n<li><strong>Title:<\/strong> Payment<\/li>\n<li><strong>Content:<\/strong> Add the following HTML tag to embed the payment interface: <code>&lt;div id=\"checkout\"&gt;&lt;\/div&gt;<\/code><\/li>\n<li><strong>Purpose:<\/strong> This page serves as the payment processing screen where the GetPay JS bundle will render the secure payment interface.<\/li>\n<\/ul>\n\n<h4>\u2705 Success Page<\/h4>\n\n<ul>\n<li><strong>Title:<\/strong> Payment Success<\/li>\n<li><strong>Content:<\/strong> Add the following shortcode in the content area of the page:\n  [getpay_check_success_page]<\/li>\n<li><strong>URL:<\/strong> The page URL must exactly match the <strong>Success URL<\/strong> you have configured in the GetPay plugin settings (e.g., <code>https:\/\/your-site.com\/success<\/code>).<\/li>\n<li><strong>Custom Content:<\/strong> You may add additional messages, images, or layout elements <em>after<\/em> the shortcode if needed. However, <strong>do not remove or modify the shortcode<\/strong>, as it is essential for validating and displaying the payment confirmation.<\/li>\n<\/ul>\n\n<h4>\u274c Failure Page<\/h4>\n\n<ul>\n<li><strong>Title:<\/strong> Payment Failed<\/li>\n<li><strong>Content:<\/strong> You can display a custom message such as: <code>[getpay_check_fail_page]<\/code><\/li>\n<li><strong>URL:<\/strong> The page URL must exactly match the <strong>Fail URL<\/strong> you have configured in the GetPay plugin settings (e.g., <code>https:\/\/your-site.com\/fail<\/code>).<\/li>\n<li><strong>Custom Content:<\/strong> You may customize the message or design of this page to fit your site's branding, but make sure the URL is correct to ensure users are properly redirected after a failed transaction.<\/li>\n<\/ul>\n\n<h3>Step 2: Assign Pages in WooCommerce<\/h3>\n\n<ul>\n<li>Go to <strong>WooCommerce &gt; Settings &gt; Advanced<\/strong><\/li>\n<li>Set:\n\n<ul>\n<li><strong>Cart page:<\/strong> Cart<\/li>\n<li><strong>Checkout page:<\/strong> Checkout<\/li>\n<\/ul><\/li>\n<li>Click <strong>Save Changes<\/strong><\/li>\n<\/ul>\n\n\n\n<h3>Testing<\/h3>\n\n<h3>Test Mode<\/h3>\n\n<ul>\n<li>Use <strong>sandbox credentials<\/strong> from your bank<\/li>\n<li>Test with provided test card numbers<\/li>\n<li>Verify flows: \u2705 success, \u274c failure, \u270b cancellation<\/li>\n<\/ul>\n\n<h3>Live Mode<\/h3>\n\n<ul>\n<li>Replace test keys with <strong>production credentials<\/strong><\/li>\n<li>Update <strong>Base URL<\/strong> to production endpoint<\/li>\n<li>Run small-amount test transactions before going live<\/li>\n<\/ul>\n\n\n\n<h3>Troubleshooting<\/h3>\n\n<h3>Plugin Not Appearing<\/h3>\n\n<ul>\n<li>Ensure <strong>WooCommerce is activated<\/strong><\/li>\n<li>Check if <strong>GetPay plugin is active<\/strong><\/li>\n<li>Verify <strong>GetPay Gateway is enabled<\/strong> under payment methods<\/li>\n<\/ul>\n\n<h3>Payment Failures<\/h3>\n\n<ul>\n<li>Double-check <strong>PAP\/OPR\/INS credentials<\/strong><\/li>\n<li>Ensure <strong>site has valid SSL<\/strong><\/li>\n<li>Check if <strong>JS bundle and API endpoints are accessible<\/strong><\/li>\n<\/ul>\n\n<h3>Redirect Issues<\/h3>\n\n<ul>\n<li>Make sure success\/fail URLs are correct<\/li>\n<li>Pages should be <strong>published<\/strong> and match settings<\/li>\n<\/ul>\n\n<h3>Debug Logs<\/h3>\n\n<ul>\n<li>Go to <strong>WooCommerce &gt; Status &gt; Logs<\/strong><\/li>\n<li>Check logs prefixed with <strong>getpay<\/strong><\/li>\n<li>Look for API errors or response messages<\/li>\n<\/ul>\n\n\n\n<h3>Support<\/h3>\n\n<h3>\ud83d\udee0\ufe0f Plugin Issues<\/h3>\n\n<ul>\n<li>Contact your plugin development team<\/li>\n<\/ul>\n\n<h3>\ud83c\udfe6 Payment Issues<\/h3>\n\n<ul>\n<li>Contact your bank\u2019s <strong>GetPay support team<\/strong><\/li>\n<\/ul>\n\n<h3>\ud83d\udcd6 WooCommerce<\/h3>\n\n<ul>\n<li>Refer to <a href=\"https:\/\/woocommerce.com\/documentation\/\">WooCommerce documentation<\/a><\/li>\n<\/ul>\n\n\n\n<h3>Security Notes<\/h3>\n\n<ul>\n<li>\ud83d\udd12 Always use HTTPS in production<\/li>\n<li>\ud83d\udd01 Keep plugin updated<\/li>\n<li>\ud83d\udcbe Regularly back up your site<\/li>\n<li>\ud83d\udd10 Never share your credentials publicly<\/li>\n<li>\ud83e\uddea Fully test before enabling live payments<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h3>Step 1: Install WooCommerce<\/h3>\n\n<ol>\n<li>Go to <strong>Plugins &gt; Add New<\/strong><\/li>\n<li>Search for \"WooCommerce\"<\/li>\n<li>Click <strong>Install Now<\/strong> and then <strong>Activate<\/strong><\/li>\n<li>Complete the WooCommerce setup wizard<\/li>\n<\/ol>\n\n<h3>Step 2: Install GetPay Plugin<\/h3>\n\n<h4>Option A: From Plugin Directory<\/h4>\n\n<ol>\n<li>Go to <strong>Plugins &gt; Add New<\/strong><\/li>\n<li>Search for <strong>\"GetPay\"<\/strong><\/li>\n<li>Click <strong>Install Now<\/strong> and then <strong>Activate<\/strong><\/li>\n<\/ol>\n\n<h4>Option B: Manual Upload<\/h4>\n\n<ol>\n<li>Download the <code>.zip<\/code> file of GetPay plugin<\/li>\n<li>Go to <strong>Plugins &gt; Add New &gt; Upload Plugin<\/strong><\/li>\n<li>Select the <code>.zip<\/code> file and click <strong>Install Now<\/strong><\/li>\n<li>Click <strong>Activate<\/strong><\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h3>Version 1.0.0<\/h3>\n\n<ul>\n<li>Initial release<\/li>\n<li>WooCommerce + GetPay basic integration<\/li>\n<li>Supports:\n\n<ul>\n<li>Success &amp; failure redirects<\/li>\n<li>Full credential configuration<\/li>\n<li>Embedded JS bundle support<\/li>\n<\/ul><\/li>\n<\/ul>\n\n\n\n<blockquote>\n  <p>\u00a9 2025 GetPay Integration Team<br \/>\n  Securely built for WooCommerce by Citytech Global<\/p>\n<\/blockquote>","raw_excerpt":"A secure payment gateway plugin for WooCommerce using GetPay.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/238915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=238915"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/citytechglobal"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=238915"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=238915"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=238915"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=238915"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=238915"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=238915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}