Code Monkey home page Code Monkey logo

rapiddive / catchtheweb-barclay-epdq-payment-gateway Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 142 KB

Barclay card ePDQ Payment gateway is an easy way to integrate ePDQ payment gateway from Barclay. It is tested on test framework.

Home Page: https://wordpress.org/plugins/catchtheweb-barclay-epdq-payment-gateway/

License: GNU General Public License v3.0

PHP 99.42% JavaScript 0.58%
wordpress wordpress-plugin woocommerce-plugin woocommerce-payment-gateway payment-gateway barclays barclaycard

catchtheweb-barclay-epdq-payment-gateway's Introduction

Lines of Code Maintainability Rating Quality Gate Status Reliability Rating Security Rating

SonarCloud

RapidDive BARCLAY ePDQ Payment Gateway

Barclay ePDQ Payment Gateway has the ability to interface with WooCommerce using Barclay CARD ePDQ Payment Gateway.

Description

The Barclay card ePDQ Payment Gateway is a simple method to connect Barclay's ePDQ payment gateway. It has been put through its paces using a test framework.

Note on use of plugin

This Plugin works with woo commerce store only.

License & Legal

RapidDive will not be liable for any direct or indirect loss or damages you may experience as a result of or in connection with your use of the service or a connected service, including but not limited to:

  • Inability or delay in using the service or a Linked service
  • Reliance upon Third Party Content
  • Loss of confidentiality
  • Termination of your access
  • Virus transmitted
  • Failure of communication media
  • Unauthorised access to your server/computer
  • Theft
  • Loss or damage to any data or other information or property

Testing

We would strongly recommend implementing this extension in a development environment before putting it live. For this, to function you need to setup the Woocommerce store to use the test account details as supplied by the Barclaycard ePDQ team.

We would also recommend that you set up the "test" Barclays back office and enable the test mode within Woocommerce. The Barclays test environment looks like this: ePDQ Testing

Installation

  1. Upload the plugin files to the /wp-content/plugins/catchtheweb-barclay-epdq-payment-gateway directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Use the Woocommerce->Settings->Checkout->Barclay ePDQ screen to configure the plugin
  4. If testing credentials enter those and start using.

Screenshots

  1. Settings Page

Changelog

= 2.0 =

  1. Initial Stable Release of Plugin.

= 2.2 =

  1. Fixed Issue For latest woo commerce version.

= 2.3 =

  1. Show Accepted Cards in Description based on config

= 2.3.2 =

  1. Fix

= 2.3.3 =

  1. Fix

= 2.3.4 =

  1. Generic Fix

= 2.3.5 =

  1. Easy access to git issues URL to report issues.
  2. Filter ePDQ setting for easy extensibility.

= 2.3.6 =

  1. Resolve code level issues.

= 2.3.7 =

  1. Auto Generate SHA secret.
  2. Description Changes.
  3. Minor Updates

= 2.3.8 =

  1. Bugfix

ePDQ Documentation

ePDQ Back Office Guide ePDQ User Manager User Guide ePDQ Integration Guide

catchtheweb-barclay-epdq-payment-gateway's People

Contributors

mattstabeler avatar subbotted avatar vinayshah avatar

Watchers

 avatar  avatar

catchtheweb-barclay-epdq-payment-gateway's Issues

not reporting back to woo commerce of transaction success

I am getting intermittent card failure reports.
The payment is being taken but not being reported back to woo commerce so the order it is associated with times out, and is marked as cancelled due to non payment, this is happening once in every 100 or so transactions, and is creating a a real problem as resources are being fully used up and then additional people are tuning with proof of booking,

i have spoken to both woo commence and barcleys and they suggested that all is well at their end so could you look into it please?

errors faced on worpress version 5.8.2

errors are as follows:

displayed inside wordpress admin dashboard:
/wp-content/plugins/catchtheweb-barclay-epdq-payment-gateway/classes/includes/settings-barclay.php on line number 5 and 6

displayed on the webpage's checkout page:
/wp-includes/functions.php on line 5663

I am using Astra WooCommerce theme FYI.

errors actually:

when I visit woocommerce>payments>barclay ePDQ, it shows following error inside wordpress admin dashboard when changes are saved:

Notice: Constant AMERICAN_EXPRESS already defined in /home/abc123/public_html/mysite.com/wp-content/plugins/catchtheweb-barclay-epdq-payment-gateway/classes/includes/settings-barclay.php on line 5

Notice: Constant SELECT_PAYMENT_METHODS already defined in /home/abc123/public_html/mysite.com/wp-content/plugins/catchtheweb-barclay-epdq-payment-gateway/classes/includes/settings-barclay.php on line 6

I get the following errors on the website's checkout page:

Thank you for your order, please click the button below to pay with Barclay ePDQ.

Notice: id was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/astra/page.php'), astra_content_page_loop, do_action('astra_content_page_loop'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->loop_markup_page, Astra_Loop->loop_markup, do_action('astra_page_template_parts_content'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->template_parts_page, get_template_part, locate_template, load_template, require('/themes/astra/template-parts/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, wc_get_template, include('/plugins/woocommerce/templates/checkout/order-receipt.php'), do_action('woocommerce_receipt_barclay'), WP_Hook->do_action, WP_Hook->appl in /home/abc123/public_html/mysite.com/wp-includes/functions.php on line 5663

Notice: order_total was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/astra/page.php'), astra_content_page_loop, do_action('astra_content_page_loop'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->loop_markup_page, Astra_Loop->loop_markup, do_action('astra_page_template_parts_content'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->template_parts_page, get_template_part, locate_template, load_template, require('/themes/astra/template-parts/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, wc_get_template, include('/plugins/woocommerce/templates/checkout/order-receipt.php'), do_action('woocommerce_receipt_barclay'), WP_Hook->do_action, WP_H in /home/abc123/public_html/mysite.com/wp-includes/functions.php on line 5663

Notice: billing_first_name was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/astra/page.php'), astra_content_page_loop, do_action('astra_content_page_loop'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->loop_markup_page, Astra_Loop->loop_markup, do_action('astra_page_template_parts_content'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->template_parts_page, get_template_part, locate_template, load_template, require('/themes/astra/template-parts/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, wc_get_template, include('/plugins/woocommerce/templates/checkout/order-receipt.php'), do_action('woocommerce_receipt_barclay'), WP_Hook->do_actio in /home/abc123/public_html/mysite.com/wp-includes/functions.php on line 5663

Notice: billing_last_name was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/astra/page.php'), astra_content_page_loop, do_action('astra_content_page_loop'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->loop_markup_page, Astra_Loop->loop_markup, do_action('astra_page_template_parts_content'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->template_parts_page, get_template_part, locate_template, load_template, require('/themes/astra/template-parts/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, wc_get_template, include('/plugins/woocommerce/templates/checkout/order-receipt.php'), do_action('woocommerce_receipt_barclay'), WP_Hook->do_action in /home/abc123/public_html/mysite.com/wp-includes/functions.php on line 5663

Notice: billing_email was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/astra/page.php'), astra_content_page_loop, do_action('astra_content_page_loop'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->loop_markup_page, Astra_Loop->loop_markup, do_action('astra_page_template_parts_content'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->template_parts_page, get_template_part, locate_template, load_template, require('/themes/astra/template-parts/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, wc_get_template, include('/plugins/woocommerce/templates/checkout/order-receipt.php'), do_action('woocommerce_receipt_barclay'), WP_Hook->do_action, WP in /home/abc123/public_html/mysite.com/wp-includes/functions.php on line 5663

Notice: billing_postcode was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/astra/page.php'), astra_content_page_loop, do_action('astra_content_page_loop'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->loop_markup_page, Astra_Loop->loop_markup, do_action('astra_page_template_parts_content'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->template_parts_page, get_template_part, locate_template, load_template, require('/themes/astra/template-parts/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, wc_get_template, include('/plugins/woocommerce/templates/checkout/order-receipt.php'), do_action('woocommerce_receipt_barclay'), WP_Hook->do_action, in /home/abc123/public_html/mysite.com/wp-includes/functions.php on line 5663

Notice: billing_address_1 was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/astra/page.php'), astra_content_page_loop, do_action('astra_content_page_loop'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->loop_markup_page, Astra_Loop->loop_markup, do_action('astra_page_template_parts_content'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->template_parts_page, get_template_part, locate_template, load_template, require('/themes/astra/template-parts/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, wc_get_template, include('/plugins/woocommerce/templates/checkout/order-receipt.php'), do_action('woocommerce_receipt_barclay'), WP_Hook->do_action in /home/abc123/public_html/mysite.com/wp-includes/functions.php on line 5663

Notice: billing_address_2 was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/astra/page.php'), astra_content_page_loop, do_action('astra_content_page_loop'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->loop_markup_page, Astra_Loop->loop_markup, do_action('astra_page_template_parts_content'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->template_parts_page, get_template_part, locate_template, load_template, require('/themes/astra/template-parts/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, wc_get_template, include('/plugins/woocommerce/templates/checkout/order-receipt.php'), do_action('woocommerce_receipt_barclay'), WP_Hook->do_action in /home/abc123/public_html/mysite.com/wp-includes/functions.php on line 5663

Notice: billing_country was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/astra/page.php'), astra_content_page_loop, do_action('astra_content_page_loop'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->loop_markup_page, Astra_Loop->loop_markup, do_action('astra_page_template_parts_content'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->template_parts_page, get_template_part, locate_template, load_template, require('/themes/astra/template-parts/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, wc_get_template, include('/plugins/woocommerce/templates/checkout/order-receipt.php'), do_action('woocommerce_receipt_barclay'), WP_Hook->do_action, in /home/abc123/public_html/mysite.com/wp-includes/functions.php on line 5663

Notice: billing_city was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/astra/page.php'), astra_content_page_loop, do_action('astra_content_page_loop'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->loop_markup_page, Astra_Loop->loop_markup, do_action('astra_page_template_parts_content'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->template_parts_page, get_template_part, locate_template, load_template, require('/themes/astra/template-parts/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, wc_get_template, include('/plugins/woocommerce/templates/checkout/order-receipt.php'), do_action('woocommerce_receipt_barclay'), WP_Hook->do_action, WP_ in /home/abc123/public_html/mysite.com/wp-includes/functions.php on line 5663

Notice: billing_phone was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/astra/page.php'), astra_content_page_loop, do_action('astra_content_page_loop'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->loop_markup_page, Astra_Loop->loop_markup, do_action('astra_page_template_parts_content'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->template_parts_page, get_template_part, locate_template, load_template, require('/themes/astra/template-parts/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, wc_get_template, include('/plugins/woocommerce/templates/checkout/order-receipt.php'), do_action('woocommerce_receipt_barclay'), WP_Hook->do_action, WP in /home/abc123/public_html/mysite.com/wp-includes/functions.php on line 5663

Error when testing Barclaycard EPDQ on Woocommerce

I'm getting what looks like a common error when testing Barclays EPDQ on Woocommerce.
It all seems to go through OK, the Barclays's site says the payment is authorised, but after a few seconds wait it goes to take me back to the website and then goes to this link:
https://www.amadihome.co.uk/wc-api/RapidDive_WC_Gateway_Barclay/
with the message: "There has been a critical error on this website."
I have found a solution from 2 years ago (change 'Default operation code' to 'sale' but this is still happening.
Do you know the best way to fix this please?
Thanks

An error has occurred; please try again later. If you are the owner or the integrator of this website, please log into the back office to see the details of the error.

After selecting the EPDQ payment, an error appears An error has occurred; please try again later on the page https://mdepayments.epdq.co.uk/ncol/test/orderstandard.asp. If you are the owner or the integrator of this website, please log into the back office to see the details of the error.. Nothing is visible in the logs, only BRAND too long : length 27 MAX:25.
Screenshots
https://ibb.co/DW0hggN
https://ibb.co/VH3cdJk
https://ibb.co/VByfBVc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.