suite
This commit is contained in:
parent
3e15166b50
commit
4960f5b466
@ -227,18 +227,18 @@ class Admin::PPaymentsController < ApplicationController
|
|||||||
|
|
||||||
|
|
||||||
def update_ogone_infos
|
def update_ogone_infos
|
||||||
|
params.delete(:search)
|
||||||
@check = OgoneRails::CheckAuth.new( request )
|
@check = OgoneRails::CheckAuth.new( request )
|
||||||
|
|
||||||
if @check.valid?
|
if @check.valid?
|
||||||
|
|
||||||
@p_payment = Payment.find_by_token(params[:orderID])
|
@p_payment = PPayment.find_by_token(params[:orderID])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
####
|
####
|
||||||
@p_payment.payment_type_id = 1
|
@p_payment.p_payment_type_id = 1
|
||||||
@p_payment.amount = params[:amount].to_f
|
@p_payment.amount = params[:amount].to_f
|
||||||
|
|
||||||
@p_payment.ogone_payid = params[:PAYID]
|
@p_payment.ogone_payid = params[:PAYID]
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
development:
|
development:
|
||||||
pspid: "olwencapital"
|
pspid: "olwencapital"
|
||||||
sha_in: "MysecretsLO1875!?"
|
sha_in: "MysecrVts!?ig1875"
|
||||||
sha_in_dl: " "
|
sha_in_dl: " "
|
||||||
sha_out: "MysecretsLO1875!?"
|
sha_out: "MyDSec!?radsig1865"
|
||||||
currency: "EUR"
|
currency: "EUR"
|
||||||
language: "fr_FR"
|
language: "fr_FR"
|
||||||
direct_url: "https://secure.ogone.com/ncol/test/orderdirect.asp"
|
direct_url: "https://secure.ogone.com/ncol/test/orderdirect.asp"
|
||||||
@ -12,9 +12,9 @@ development:
|
|||||||
mode: 'test'
|
mode: 'test'
|
||||||
production:
|
production:
|
||||||
pspid: "olwencapital"
|
pspid: "olwencapital"
|
||||||
sha_in: "MysecretsLO1875!?"
|
sha_in: "MysecrVts!?ig1875"
|
||||||
sha_in_dl: " "
|
sha_in_dl: " "
|
||||||
sha_out: "MysecretsLO1875!?"
|
sha_out: "MyDSec!?radsig1865"
|
||||||
currency: "EUR"
|
currency: "EUR"
|
||||||
language: "fr_FR"
|
language: "fr_FR"
|
||||||
direct_url: "https://secure.ogone.com/ncol/prod/orderdirect.asp"
|
direct_url: "https://secure.ogone.com/ncol/prod/orderdirect.asp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user