-
Notifications
You must be signed in to change notification settings - Fork 23
Validate AJAX Request
Gunjan Patel edited this page Jun 3, 2016
·
1 revision
// This will gives you an url with valid and unique token
var url = redSHOP.RSConfig._('AJAX_BASE_URL');
// This will gives you token which you can use individually.
var token = redSHOP.RSConfig._('AJAX_TOKEN');// This will validate using GET method
RedshopHelperAjax::validateAjaxRequest('get');
// This will validate method using POST method.
RedshopHelperAjax::validateAjaxRequest();If request is not valid AJAX request then it will throw and 403 Forbidden Access exception.
Since version 1️⃣.6️⃣.1️⃣
- Home
- Developer
- How to get Config variable
- Product
- Validate AJAX Request
- Render JLayout or redSHOP Layout
- redSHOP Joomla Plugin Architecture Types
- Creditcard Payment Gateway List
- History of redSHOP Checkout Flow
- redSHOP 1.x series development decisions
- RedSHOP for Joomla 2.5 guidelines
- redSHOP Payment Gateway Sandbox Details
- redSHOP Shipping API Test Details