cancel
Showing results for 
Search instead for 
Did you mean: 

Orders V2 Capture

SOLVED
Highlighted
Contributor

Orders V2 Capture

Using the Checkout-PHP-SDK

 

I am unable to capture a payment, my debug output returns:

403,

"name":"NOT_AUTHORIZED"

"details":[{"issue":"PERMISSION_DENIED","description":"You do not have permission to access or perform operations on this resource."}],

"message":"Authorisation failed due to insufficient permissions."

 

Am I missing something in my sandbox setup?

I can see in my dashboard API calls the setup is fine but capture is getting rejected

 

create succeeds -> /v2/checkout/orders

capture fails ->/v2/checkout/orders/[id]/capture

    

1 ACCEPTED SOLUTION

Accepted Solutions
Contributor

Re: Orders V2 Capture

So it turned out I had not referenced my client secret var correctly, the fact that the order creation worked threw me off investigating the connection. I spent far too much time down the rabbit hole, debug and a nights sleep are my friend.  

View solution in original post

Tags (1)
1 REPLY 1
Contributor

Re: Orders V2 Capture

So it turned out I had not referenced my client secret var correctly, the fact that the order creation worked threw me off investigating the connection. I spent far too much time down the rabbit hole, debug and a nights sleep are my friend.  

View solution in original post

Tags (1)