Mo

@LiamC If you are testing PayPal's IPN then no, you can't test that on a local instance, unless you set some form of port forwarding up on your local network (but that would risk exposing your local network from attacks via the internet so not really recommended)

Mo

The user account of the nginx instance is obviously not the owner, I am guessing I need to add something to my docker file to change permissions?

Mo

[Warning] file_put_contents(/var/www/html/public/assets/.htaccess): failed to open stream: Permission denied

Mo

Anyone know how to get rid of this issue while flushing using docker

theruss

If you're using nginx, then you're prob using php-fpm which may be running under a different user.

theruss

I get that .htaccess c**p all the time. The "public/assets" dir needs to be writeable by the PHP process which may or may not be the same user that nginx runs under

Mo

https://www.getpostman.com/

Show 1 attachment(s)
getpostman.com  
Postman

Postman is the only complete API development environment, for API developers, used by more than 6 million developers and 100,000 companies worldwide. Postman makes working with APIs faster and easier by supporting developers at every stage of their workflow, and is available for Mac OS X, Windows, and Linux users.

Hide attachment content
Mo

@LiamC The link above is a good way of testing IPN, if you want to test the API in general, might want to look into PostMan

Mo

I guess I could use an extra field, though I would have to track down all the points it gets added, which would probably be more work than using through

Mo

Or is this basically the realms of adding a through object?