Skip to content

Instantly share code, notes, and snippets.

View birante's full-sized avatar
🎯
Focusing

Birante SY birante

🎯
Focusing
View GitHub Profile
# Controller
def orange_money
@reservation_id = session[:reservation_id]
@transaction_id = session[:transaction_id]
@total_amount = session[:total_amount].to_f
@om_secret_key = ["xxxxxxxxxxxxxxxx"].pack("H*")
@s2m_identifiant = Digest::MD5.hexdigest("xxxxxxxxxxxxx")
@s2m_site = Digest::MD5.hexdigest("xxxxxxxxxxx")
@s2m_htype = "SHA512".downcase
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap demo</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous">
</head>