cancel
Showing results for 
Search instead for 
Did you mean: 

Paypal for existing users not working(keeps spinning)

Paypal for existing users not working(keeps spinning)

Magento--2.1.5 php 5.6

issue: paypal checkout for existing user not working. When you say continue to paypal keeps spining forever. In console I got this error

Failed to load resource: the server responded with a status of 404 (Not Found):rest/default/v1/carts/mine/selected-payment-method

Uncaught SyntaxError: Unexpected token < in JSON at position 0 /resources/checkout/#payment:1 at JSON.parse ()

at Object.process (error-processor.js:19)

at Object. (set-payment-method.js:50)

at fire (jquery.js:3099)

at Object.fireWith [as rejectWith] (jquery.js:3211)

at done (jquery.js:9312)

at XMLHttpRequest.callback (jquery.js:9720)

help should be appreciated.