Comments

garethhallnz created an issue. See original summary.

garethhallnz’s picture

I have started porting the module to D8.

See: https://github.com/garethhallnz/commerce_dps

  • garethhallnz authored 0ad4636 on 8.x-1.x
    Issue #2891993 by garethhallnz: Better abstration, start pxpost, pxpay...
  • garethhallnz authored 0bc549e on 8.x-1.x
    Issue #2891993 by garethhallnz: Tests for PxPayServiceTest.php
    
  • garethhallnz authored 0d46c08 on 8.x-1.x
    Issue #2891993 by garethhallnz: Use state machine to move order along
    
  • garethhallnz authored 161daad on 8.x-1.x
    Issue #2891993 by garethhallnz: Rename config to be more generic for...
  • garethhallnz authored 19817b6 on 8.x-1.x
    Issue #2891993 by garethhallnz: Pxpay remove cancle url
    
  • garethhallnz authored 1a0bd46 on 8.x-1.x
    Issue #2891993 by garethhallnz: Make work for latest commerce codebase
    
  • garethhallnz authored 1d45988 on 8.x-1.x
    Issue #2891993 by garethhallnz: Validate currency pxpay
    
  • garethhallnz authored 340a5b3 on 8.x-1.x
    Issue #2891993 by garethhallnz: Remove getReference method as its in the...
  • garethhallnz authored 37d4013 on 8.x-1.x
    Issue #2891993 PxPay on cancle all parent::onCancel
    
  • garethhallnz authored 3e1b8b4 on 8.x-1.x
    Issue #2891993 by garethhallnz: Pxpay interface not needed
    
  • garethhallnz authored 4eaecdc on 8.x-1.x
    Issue #2891993 by garethhallnz: PxPost work in progress
    
  • garethhallnz authored 5366f31 on 8.x-1.x
    Issue #2891993 by garethhallnz: Set order state when saving via iframe
    
  • garethhallnz authored 637da97 on 8.x-1.x
    Issue #2891993 by garethhallnz: onReturn only when not completed
    
  • garethhallnz authored 7d6a6e5 on 8.x-1.x
    Issue #2891993 by garethhallnz: Pxpay iframe related functionality
    
  • garethhallnz authored 8c7d6e7 on 8.x-1.x
    Issue #2891993 by garethhallnz: Coding standards
    
  • garethhallnz authored 9613a5c on 8.x-1.x
    Issue #2891993 by garethhallnz: Initial pxpay port
    
  • garethhallnz authored 9d163f2 on 8.x-1.x
    Issue #2891993 pull from master branch
    
  • garethhallnz authored a29e11d on 8.x-1.x
    Issue #2891993 by garethhallnz: Tests for PaymentExpressServiceTest.php
    
  • garethhallnz authored ca4b607 on 8.x-1.x
    Issue #2891993 by garethhallnz: Start working on pxpost
    
  • garethhallnz authored d0c2284 on 8.x-1.x
    Issue #2891993 by garethhallnz: Validate currency pxpay
    
  • garethhallnz authored f7f999a on 8.x-1.x
    Issue #2891993 Fixes for latest commerce release and make iframe state...
  • garethhallnz authored f82e053 on 8.x-1.x
    Issue #2891993 by garethhallnz: Better abstraction and fprn support
    
xurizaemon’s picture

Title: Port to Drupal 8 » Release coordination issue for 8.x-1.0
Assigned: garethhallnz » Unassigned

Converting this issue to release co-ordination. (Is there a hyphen?)

Please give feedback from your use here, and we can work towards an official release :)

I can't select 8.x-1.x-dev yet but will when the tarball drops.

snlnz’s picture

Hey Gareth,

I set up a test booking site with commerce_dps_pxpay enabled.
However, on submitting a payment the site gets stuck in an infinite loop and never arrives at the DPS payment page.

Steps to reproduce the issue:
- add developer acc to the UI plus with enable logging for development mode (tried with both server options "PX Pay" and "PX Pay 2.0"
- submitted a test payment
- payment page gets stuck in an infinite loop and never redirects to DPS site

Drupal logs:

Unable to generate DPS request with settings: Array ( [commerce_dps_pxpay_userid] => DEV_ACCOUNT_NAME [commerce_dps_pxpay_key] => secret-auth-key [commerce_dps_pxpay_server] => https://sec.paymentexpress.com/pxaccess/pxpay.aspx [commerce_dps_pxpay_currency] => NZD [commerce_dps_pxpay_cancel_return_url] => cart [commerce_dps_pxpay_refprefix] => Booking Reference [commerce_dps_pxpay_log_transactions] => 1 [cancel_return] => http://SITENAME/checkout/7/payment/back/dP-kDbFUUkfc2ZO4CD3V49vlclRCqv7Jy7kXr2nFgbw [return] => http://SITENAME/checkout/7/dps_pxpay_fprn/dP-kDbFUUkfc2ZO4CD3V49vlclRCqv7Jy7kXr2nFgbw [payment_method] => commerce_dps_pxpay|commerce_payment_commerce_dps_pxpay )

I noted in an email from DPS recently that the version/URL was
PxPay2.0 - URL: https://uat.paymentexpress.com/pxaccess/pxpay.aspx
If that's of any use?

Let me know if there's anything else I can provide or if there is something being overlooked :)

/K

xurizaemon’s picture

Status: Active » Needs work

@snlnz, thanks for testing!

So - some DPS test accounts use https://sec, and some use https://uat ... how that is assigned is not clear. This means that people really need to be able to configure their endpoint URL as well as their credentials.

It does mean that we need to make the setting clear where we expose it (IMO we should use "Endpoint URL" rather than "Test/Live Mode" as labels, because the latter doesn't match how it actually works).

I don't have a live test install handy - is there such a setting? If not, do you want to add one? Patch welcome here, PRs welcome https://github.com/xurizaemon/commerce_dps/tree/8.x-1.x or at Gareth's repo above.

snlnz’s picture

I've reached out to DPS asking how test accounts are assigned their endpoint URL prefixes but I think you're right, if this is not consistently assigned, the UI will require an editable endpoint URL field to change.

On a live test install, there is no such setting I can confirm that but I'll have a look at the code and provide more feedback as soon as I can.

xurizaemon’s picture

Regardless of their logic, we know that two people (myself, Gareth) have https://sec.paymentexpress.com endpoints for dev, and I know of two more (you, Eileen) who have https://uat.paymentexpress.com endpoints for dev tokens. So ... yeah, we definitely need that as a config :)

I've discussed with them before (possibly an issue in the queue here has details) and they know it's not consistent, I *think* it's just historic (Gareth & I showing our account age?)

snlnz’s picture

For sure and judging by the time it's taken for them to respond, I figure they already know what I'm asking. *sigh*

xurizaemon’s picture

xurizaemon’s picture

xurizaemon’s picture

Title: Release coordination issue for 8.x-1.0 » Release coordination issue for 2.0.0
Status: Needs work » Needs review

Well, 8.x-1.0 never got released, let's just move this issue over to the 2.0.0 release shall we?

At this point I recommend moving to 2.0.x as it has various fixes. Since 8.x-1.0-beta1 was beta1, I'll release 2.0.0-beta2 now. It's mostly the same :)

For 2.0.0 I'd like to see #3206147: Verify PxPay iframe integration behaviour fixed at least ... that may just be a configuration issue my side, haven't yet looked.

xurizaemon’s picture

xurizaemon’s picture

Issue summary: View changes

Ugh, that was meant to go into the issue summary :D

xurizaemon’s picture

Issue summary: View changes
xurizaemon’s picture

Version: 8.x-1.x-dev » 2.0.x-dev

xurizaemon’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.