Closed (fixed)
Project:
Commerce Authorize.Net
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2018 at 17:19 UTC
Updated:
19 Apr 2018 at 19:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
czigor commentedIf we choose Carinal Cruise, here's a link with example implementation links:
https://github.com/AuthorizeNet/accept-sample-app/blob/master/README-Car...
Comment #3
czigor commentedPreliminary patch for backup purposes.
Comment #4
czigor commentedThe patch adds 3DS support for accept.js. It adds a composer dependency for JWT handling.
Comment #5
czigor commentedBetter error handling. Also rounding the cardinal order amount since they need an integer.
Comment #6
mglamanWe should use the commerce rounder
Is this the same jwt library API-first is using? I think the simple_oauth has a JWT library
Comment #7
czigor commented@mglaman The commerce Rounder still returns a float (e.g. "8.00") and we need a minor unit amount as integer (e.g. "8").
Yes, simple_auth is using the same lcobucci/jwt lib.
Comment #8
mglamanWhite space nits
Why would we reload versus showing an error, curious?
s/request/query?
s/request/query
We shouldn't use $_SESSION directly but the
sessionservice.Comment #9
czigor commented@mglaman
1-2: Fixed
3-4: We send the jwt in POST, not in GET, so it should be ok the way it is.
5. Using tempstore.private service instead of $_SESSION now.
Comment #10
mglamanThis looks awesome! Will merge later today :D
Comment #12
mglamanCommitted! Awesome!