Jean R.
Forum Replies Created
-
I try a test payment this morning and when I check the events in Mangopay, I notice : 5€ Incl. 5.00fees
It means the totality of the payment has been marked as fees ?
It’s WC Vendor who send this information on mangopay no ?
Hi Mark,
When I setup the global commission, I have to configure for each vendor again ?
Forum: Plugins
In reply to: [MANGOPAY for WooCommerce] Commission doesn’t work ?A chaque fois que j’achète un produit en sandbox, je reçois la totalité de l’argent sur mangopay mais le vendeur ne reçoit rien.
Dans WC-Vendors > Commissions ça affiche 0 et traité comme payé.Du coup je sais pas si le problème vient de vous ou wc-vendors ?
Forum: Plugins
In reply to: [MANGOPAY for WooCommerce] Traduction MangopayJ’ai finalement pu trouver la chaine “validate your KYC” (pour ceux qui lisent, penser à augmenter la limite de fichier imposé par Loco)
Mais impossible de traduire l’autre message.. Je pense que c’est pas traduisible
Forum: Plugins
In reply to: [MANGOPAY for WooCommerce] Traduction MangopayPar exemple, j’aimerais traduire :
You need to validate your KYC documents to do a payout.
et tous le message concernant :
Important notice from the MANGOPAY-WooCommerce payment gateway plugin
Impossible de les trouver sur loco
Forum: Plugins
In reply to: [MANGOPAY for WooCommerce] Traduction MangopayBonjour,
Dsl pour la 2ème question, j’ai créé un topic dédié : https://wordpress.org/support/topic/commission-doesnt-work/#new-topic-0
Pour la traduction, je les vois pas dans les chaines de locotranslate justement..
Forum: Plugins
In reply to: [The Events Calendar] Colors not updatingMy color is not updating too, does the fix will come soon please ?
Thanks !Forum: Plugins
In reply to: [WP REST Cache] Use this plugin with custom rest_url_prefixHi @rockfire , thanks for this update !
How should I use this now ?
I put both code in my functions.php :
function wprc_filter_allowed_request_methods( $allowed_request_methods ) { $allowed_request_methods[] = 'POST'; return $allowed_request_methods; } add_filter( 'wp_rest_cache/allowed_request_methods', 'wprc_filter_allowed_request_methods', 10, 1 ); function wprc_add_acf_posts_endpoint( $allowed_endpoints ) { if ( ! isset( $allowed_endpoints[ 'api' ] ) || ! in_array( 'events', $allowed_endpoints[ 'api' ] ) ) { $allowed_endpoints[ 'api' ][] = 'events'; } return $allowed_endpoints; } add_filter( 'wp_rest_cache/allowed_endpoints', 'wprc_add_acf_posts_endpoint', 10, 1);Forum: Plugins
In reply to: [WP REST Cache] Use this plugin with custom rest_url_prefixWell I just tried it, and it doesn’t appear in the “Endpoint Api Caches” tab
Maybe I do wrong :I change the base app from
wp-jsontoappMy api full url is like :
https://domain.com/app/api/eventsI changed the line like you did, then I used this code :
function posts_endpoint( $allowed_endpoints ) { if ( ! isset( $allowed_endpoints[ 'api' ] ) || ! in_array( 'events', $allowed_endpoints[ 'api' ] ) ) { $allowed_endpoints[ 'api' ][] = 'events'; } return $allowed_endpoints; } add_filter( 'wp_rest_cache/allowed_endpoints', 'posts_endpoint', 10, 1);It’s good ?
Forum: Plugins
In reply to: [WP REST Cache] Use this plugin with custom rest_url_prefixYes my requests only returning results ! Cause wp api is restricted so I need some more complex queries
It would be great !
Forum: Plugins
In reply to: [WP REST Cache] Use this plugin with custom rest_url_prefixArf.. can’t put my requests in GET for security issues
Too bad, your plugin seemed awesome !
Forum: Plugins
In reply to: [WP REST Cache] Use this plugin with custom rest_url_prefixWell maybe I need to give more explanations
after renaming the base, I build custom endpoints. For example :
add_action( 'rest_api_init', function () { register_rest_route( 'api', '/events', array( 'methods' => 'POST', 'callback' => 'get_events', ) ); });Then I use a WP_Query and echo a json output for my mobile app.
So I tried :
function wprc_add_acf_posts_endpoint( $allowed_endpoints ) { if ( ! isset( $allowed_endpoints[ 'api' ] ) || ! in_array( 'events', $allowed_endpoints[ 'api' ] ) ) { $allowed_endpoints[ 'api' ][] = 'events'; } return $allowed_endpoints; } add_filter( 'wp_rest_cache/allowed_endpoints', 'wprc_add_acf_posts_endpoint', 10, 1);Maybe your plugin doesn’t handle that ?
Forum: Plugins
In reply to: [WP REST Cache] Use this plugin with custom rest_url_prefixHere’s the code I use to change wordpress base url :
/** * Modify url base from wp-json to 'app' */ add_filter( 'rest_url_prefix', 'api_slug'); function api_slug( $slug ) { return 'app'; }I connected To buffer cause I use it
I disconect still nothingI’ll send you a ticket thanks
Forum: Plugins
In reply to: [Reaction Buttons] Remove voteOh ok, it’s too bad..
I can’t foun a plugin who makes like yours and remove action. I wanted a “I recommande this” button and you’re the only one who permitted this :'(