Skip to content

Instantly share code, notes, and snippets.

View jimacoff's full-sized avatar
🎯
Focusing

JIMOH ABDULLAHI jimacoff

🎯
Focusing
  • Abukem Inc
  • Nigeria
View GitHub Profile
- content_for :injection_data do
= inject_available_shipping_methods
= inject_available_payment_methods
= inject_saved_credit_cards
= f_form_for current_order,
html: {name: "checkout",
id: "checkout_form",
novalidate: true,
"ng-submit" => "purchase($event, checkout)"} do |f|
paystackObj = Paystack.new
transactions = PaystackTransactions.new(paystackObj)
result = transactions.initializeTransaction(
:reference => "blablablabla-YOUR-UNIQUE-REFERENCE-HERE",
:amount => 300000,
:email => "xxxxxx@gmail.com",
)
auth_url = result['data']['authorization_url']
@jimacoff
jimacoff / laravellocal.md
Created November 7, 2018 13:29 — forked from hootlex/laravellocal.md
Run laravel project locally

##Windows users:

cmder will be refered as console

##Mac Os, Ubuntu and windows users continue here:

  • Create a database locally named homestead utf8_general_ci