Showing results for 
Search instead for 
Did you mean: 

Sandbox Account - Error Order could not be captured

New Community Member

Sandbox Account - Error Order could not be captured

I've got a sandbox account that was working OK, the site is just about to go live and I am now consistently getting the above error.


I'm using paypay.Buttons:-


            createOrder: ( data, actions ) => {
                return actions.order.create({
                    purchase_units: [{
                        amount: {
                            value: this.amount.toFixed(2),
                            currency_code: "GBP",
            onApprove: ( data, actions ) => {
                return actions.order.capture().then(details => {
            onError: ( error ) => {

The endpoint failing is:- POST to


There's about 16k of output to console, but the final part is:-


Error: Order could not be captured
at Yt.(anonymous function) (
at Object.<anonymous> (
at JSON.parse (<anonymous>)
at o (
at ir (
at Er.u.on (
at Er (

Any assistance is appreciated.