Skip to content

Instantly share code, notes, and snippets.

View alpocr's full-sized avatar

Allan Porras alpocr

View GitHub Profile
# -*- coding: utf-8 -*-
import os
import urllib
import pytz
from datetime import datetime, date
from django.db import models
from django.db.models import signals
'use strict';
/**
* @ngdoc function
* @name mall4gApp.controller:AdminMediaUploadCtrl
* @description
* # AdminMediaUploadCtrl
* Controller of the mall4gApp
*/
angular.module('mall4gApp')
<?php
//------------- PRUEBA DE AUTENTICACION API 4G PAYMENTS -----------------------
//Datos de conexion para el Api 4G
$Api_data = array("grant_type" => "client_credentials","client_id" => "[CLEINT_ID]", "client_secret" => "[CLIENT_SECRET]");
$Api_Url = "https://api.payments.4geeks.io/authentication/token/";
//------------------------------- CONEXION ------------------------------------