CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Language and Locality »
  • UK Users Group (Moderator: Michael McAndrew) »
  • UK payment processors
Pages: 1 ... 3 4 [5] 6 7 8

Author Topic: UK payment processors  (Read 59050 times)

vin247

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal.6-22
  • MySQL version: 5
  • PHP version: 5
Re: UK payment processors
October 05, 2011, 03:11:21 am
Can anyone help, I've tried the module from circle interactive but I keep getting an error 500 page when registering for an event using the sagepay payment processor.

PHP version = 5
mysql version = 5
Using drupal.6-22

vin247

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal.6-22
  • MySQL version: 5
  • PHP version: 5
Re: UK payment processors
October 11, 2011, 01:23:25 am
*bump*

Anyone?  ???

andyw

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 4
  • CiviCRM version: 4.x
  • CMS version: Drupal, Joomla
Re: UK payment processors
October 20, 2011, 01:40:52 pm
Hi there,

Apologies, we updated the module a bit for Civi 3.3, but forgot to update the version we had on that page.

Have uploaded the latest version to http://www.circle-interactive.co.uk/help/civicrm/modules/sagepay

That one should work ok with 3.3, 3.4 and 4.0.

Let us know if you have any more problems with it,

Andy
Andrew Walker, Developer at Circle Interactive

vin247

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal.6-22
  • MySQL version: 5
  • PHP version: 5
Re: UK payment processors
October 25, 2011, 03:00:25 am
Brilliant! Thanks, I'll check it out soon as, hopefully all goes well.

Thanks again!

vin247

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal.6-22
  • MySQL version: 5
  • PHP version: 5
Re: UK payment processors
October 26, 2011, 03:16:36 am
Quote from: andyw on October 20, 2011, 01:40:52 pm
Hi there,

Apologies, we updated the module a bit for Civi 3.3, but forgot to update the version we had on that page.

Have uploaded the latest version to http://www.circle-interactive.co.uk/help/civicrm/modules/sagepay

That one should work ok with 3.3, 3.4 and 4.0.

Let us know if you have any more problems with it,

Andy

Ok, I'm trying it using test payments but I keep getting the following message:

Sorry. A non-recoverable error has occurred.
The following errors occurred when submitting payment to Sage Pay:
malformed
Please contact the site administrator.


With no way for me to figure why this is happening, any suggestions?

Thanks

davem

  • I post occasionally
  • **
  • Posts: 60
  • Karma: 0
    • Circle Interactive
  • CiviCRM version: 3s and 4s
  • CMS version: D6, D7, J!, WP
Re: UK payment processors
October 26, 2011, 08:46:13 am
Hi vin47
could you let me know what exact version of civi you're using

Regards

DaveM

vin247

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal.6-22
  • MySQL version: 5
  • PHP version: 5
Re: UK payment processors
October 27, 2011, 01:44:08 am
Hi Dave

Looking at civicrm-version.php the version is 3.4.5, the full contents of this file is as follows:


Code: [Select]
<?php
function civicrmVersion( ) {
  return array( 
'version'  => '3.4.5',
                
'cms'      => 'Drupal',
                
'revision' => '35590' );
}

Cheers

vin247

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal.6-22
  • MySQL version: 5
  • PHP version: 5
Re: UK payment processors
October 27, 2011, 07:40:08 am
Tested it with client's sage pay details on live server, it gets to the section to enter card details, I haven't tried to go beyond this yet, however when I click cancel I get the following message:

HTTP Status Code:    500
HTTP Status Message:    The request was unsuccessful due to an unexpected condition encountered by the server.
Error Code :    5006
Error Description :    Unable to redirect to Vendor's web site. The Vendor failed to provide a RedirectionURL.


How would I go about setting the redirection url?

(I'm new to both sage pay and civicrm)

Thanks

vin247

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal.6-22
  • MySQL version: 5
  • PHP version: 5
Re: UK payment processors
October 31, 2011, 10:03:51 am
:::UPDATE:::

Issue solved.

However still getting malformed error message with the test environment.

michaellenahan

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 0
    • mick.appspot.com
Re: UK payment processors
November 10, 2011, 03:09:47 am
Hi there

I'm getting the same error 5006 using the SagePay test server. Our simulator tests worked fine.

Site URL: https://test.sagepay.com/simulator/VSPServerGateway.asp?Service=VendorRegisterTx
API URL: https://test.sagepay.com/simulator/VSPServerGateway.asp?Service=VendorRegisterTx
Button URL: https://test.sagepay.com/simulator/VSPServerGateway.asp?Service=VendorRegisterTx

Also, can anyone advise on how to fill in the Error URL field in the Edit Payment Processor page. I wonder if this is the problem.

Any advice appreciated. Thanks!

Michael

michaellenahan

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 0
    • mick.appspot.com
Re: UK payment processors
November 30, 2011, 04:50:27 am
An update on what the real problem was and how we solved it.

(It wasn't the Error URL field in the Edit Payment Processor page - this has been left blank.)

Surfing to the redirection url in the browser revealed php errors in the page. That's why SagePay was unable to respond to it.

To fix the problem, we solved the issue with php errors on the notification url. Thanks to Dave Jenkins from Circle Interactive who helped us out on IRC. (And, a huge thanks to Circle Interactive for contributing this code to the community in the first place.)

In our case the error was related to the location of the civicrm module in a contrib folder. The solution was to create a settings_location.php file in sites/all/modules/contrib/civicrm/ with the text:

define( 'CIVICRM_CONFDIR', '/home/civicrm/public_html/sites' );

vin247

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal.6-22
  • MySQL version: 5
  • PHP version: 5
Re: UK payment processors
February 17, 2012, 04:05:20 am
I'm experiencing another problem, it's fine when I'm logged but for anonymous user it complains the street address, post code, country fields are missing even when they're not. Anyone have any ideas on this one?

iammikek

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.07
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5
Re: UK payment processors
February 22, 2012, 02:10:42 am
vin, did you resolve the issue you were getting with missing street address, post code, country fields?

it appears that the field ids are different to what the $sageParams are expecting - eg form contains hidden field called #street_address-1 but sage params wants ($contact['street_address'];

we've just upgraded civi to 4.1 so am not sure whether its bailing on new registrants because of that or something else. will report back when i find out.

vin247

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal.6-22
  • MySQL version: 5
  • PHP version: 5
Re: UK payment processors
February 22, 2012, 07:16:54 am
not yet iammikek, quite baffling as it's working fine on an earlier/test version I made

andyw

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 4
  • CiviCRM version: 4.x
  • CMS version: Drupal, Joomla
Re: UK payment processors
March 05, 2012, 04:27:20 am
Hi there,

Did some more work to this at the London code sprint last week - mainly updating it to the new extension format, but have also rolled the changes into the standard payment module in case that helps anyone.

You can download that from http://www.circle-interactive.co.uk/help/civicrm/modules/sagepay

I don't think any of those changes will solve your problem here though. To get hold of that data, the module does a contact search through the api based on contact_id (this has been updated to now use api v3 - not sure if that will help, probably not).

So, if you're ending up with keys like 'street_address-1', that is probably how the api is returning them (you can verify this in the api explorer).

Could maybe add something to deal with this if there's no way to fix it elsewhere, but it sounds more like an issue with the profiles that collect the data, rather than the module itself.

Hope that helps!

Let us know how you get on,

Andy
Andrew Walker, Developer at Circle Interactive

Pages: 1 ... 3 4 [5] 6 7 8
  • CiviCRM Community Forums (archive) »
  • Language and Locality »
  • UK Users Group (Moderator: Michael McAndrew) »
  • UK payment processors

This forum was archived on 2017-11-26.