suite
This commit is contained in:
parent
9ae944bde3
commit
b860d3cbbb
@ -226,7 +226,7 @@ class Public::JoinsController < ApplicationController
|
|||||||
|
|
||||||
@api = PayPal::SDK::Merchant.new
|
@api = PayPal::SDK::Merchant.new
|
||||||
if @api.ipn_valid?(request.raw_post) # return true or false
|
if @api.ipn_valid?(request.raw_post) # return true or false
|
||||||
@sheet = Renew.find_by_token(params[:custom].to_s)
|
@sheet = Sheet.find_by_token(params[:custom].to_s)
|
||||||
if params[:payment_status] == "Completed"
|
if params[:payment_status] == "Completed"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user