By Mario on Thursday, 21 December 2017
Posted in General
Replies 1
Likes 0
Views 287
Votes 0
Hello,

can you tell me where I can found Payement_key in database table?
I need this because I want to build a page to list user whit his related payment_key. This should be usefull to identify bitpay payment in a fast way.
Sometime happen that bitcoin payement take more than 15 minutes (expiration time set by bitpay). In this case the payment is received after a while and the plan is not activated. So it need a manual operation.

Thanks,
Mario
Hello,

Payment key is not stored anywhere in database. We generate this encrypted string from payment id.
I suggest you not to activate manually, you need to wait for notification , if you manually activated then the notification will not log in payplans and in future if you find any issue then we will not able to track the issue.

Still you want to generate this payment key then use below mentioned code.

$payment_key = XiHelperUtils::getKeyFromId($paymentId);


$paymentId in this variable you need to pass payment id.

Let me know if you have any query.
·
Friday, 22 December 2017 12:10
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post