magento 2 createPaypalExpressToken mutation GraphQL

I am using createPaypalExpressToken mutation for creating Paypal Express token. Request : mutation { createPaypalExpressToken( input: { cart_id: “9GXAiPDjB04H1OXOBndnrNIQwxQKFuWv” code: “paypal_express” express_button: true urls: { return_url: “paypal/action/return.html” cancel_url: “paypal/action/cancel.html” } } ) { token paypal_urls{ start edit } } } Response : { “data”: { “createPaypalExpressToken”: { “token”: “<PayPal_Token>” “paypal_urls”: { “start”: “https://www.sandbox.paypal.com/checkoutnow?token=<PayPal_Token>” “edit”: “https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&useraction=continue&token=<PayPal_Token>”…

Admin page is 404 after setup virtual host in Xampp

I tried to setup virtual host in Xampp. I add this to my vhost file httpd-vhosts.conf: <VirtualHost *:80> DocumentRoot “C:/xampp/htdocs/magentoCE233” ServerName magento-course.com <Directory “C:/xampp/htdocs/magentoCE233”> DirectoryIndex index.php AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> Then, I edited my host file: 127.0.0.1 magento-course.com Also edited in core_config_data table: web/unsecure/base_url http://magento-course.com/ web/secure/base_url https://magento-course.com/ After flush cache…

mapping Xml File in Magento 2

I am trying to map xml file in magento 2 while working on new module declaration through this command bin/magento dev:urn-catalog:generate .idea/misc.xml the directory is (through pwd command) /opt/lampp/htdocs/magento at first it shows me this error cache_dir “/opt/lampp/htdocs/magento/var/cache/” is not writable So I have launched this command chmod -R -v 777 var/cache It shows me…