Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Ruby Gems
/
var
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Ricardo Garcia
2016-07-05 18:20:04 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d1ad1f332b16e367eba1df0fea56bb60c4394dda
d1ad1f33
1 parent
ce56b638
Fix card payment
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/var.rb
lib/var.rb
View file @
d1ad1f3
...
...
@@ -85,7 +85,7 @@ module ActsAsChargeable
var_payment_method:
charge
.
payment_method
.
object
)
update_conekta_barcode
(
charge
)
if
options
[
:conekta_type
]
==
'oxxo'
if
var_payed?
time
=
Time
.
strptime
payment
[
:paid_at
].
to_s
,
'%s'
time
=
Time
.
zone
.
now
update_columns
(
var_payment_at:
time
)
end
charge
...
...
Please
register
or
login
to post a comment