Skip to content

Instantly share code, notes, and snippets.

View mdobydullah's full-sized avatar
💭
I have miles to go before I sleep.

Md Obydullah mdobydullah

💭
I have miles to go before I sleep.
View GitHub Profile
@mdobydullah
mdobydullah / PayPalController.php
Last active October 26, 2021 07:48
LaraPal - PayPalController
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Obydul\LaraPal\Services\ExpressCheckout;
class PayPalController extends Controller
{
/**
[ req ]
default_bits = 2048
default_keyfile = server-key.pem
distinguished_name = subject
req_extensions = req_ext
x509_extensions = x509_ext
string_mask = utf8only
[ subject ]
@mdobydullah
mdobydullah / skrill-ipn.php
Last active December 2, 2022 09:37
Skrill IPN by Md Obydullah - Extension for LaraSkrill (https://github.com/mdobydullah/laraskrill)
<?php
/**
* Created by: Md Obydullah
* File: skrill-ipn.php
* Created: March 18, 2019
* Description: If you want to receive and store data from 'status_url' instead of receiving email, then use this code to your IPN listener.
*/
// routes - web
use App\Http\Controllers\SkrillPaymentController;
<?php
/*
+----------------------------------------------------------------------+
| APC |
+----------------------------------------------------------------------+
| Copyright (c) 2006-2011 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
@mdobydullah
mdobydullah / .gitlab-ci.yml
Created February 8, 2020 19:05
GitLab CI configuration for auto-deployment of Vue.js to S3: https://s.mynotepaper.com/y1E4
stages:
- build
- deploy
# build stage
build_app:
image: node:alpine
stage: build
only:
- master