1. LAC DB connected successfully!
=================Entry Start From Here ============
SELECT * FROM gpay_webhooks WHERE id = '239'
======================= I am in subscription Renew ==================
Webhook tbl Record Id is => 239 and order_id is => 5159 and GPA ID is => GPA.3395-9780-7664-43773..7
select package_id from tbl_customer_subscriptions where order_id='5159' order by id desc limit 1
Google\Service\AndroidPublisher\SubscriptionPurchase Object
(
[internal_gapi_mappings:protected] => Array
(
)
[modelData:protected] => Array
(
)
[processed:protected] => Array
(
)
[acknowledgementState] => 1
[autoRenewing] => 1
[autoResumeTimeMillis] =>
[cancelReason] =>
[cancelSurveyResultType:protected] => Google\Service\AndroidPublisher\SubscriptionCancelSurveyResult
[cancelSurveyResultDataType:protected] =>
[countryCode] => US
[developerPayload] =>
[emailAddress] =>
[expiryTimeMillis] => 1777392497255
[externalAccountId] =>
[familyName] =>
[givenName] =>
[introductoryPriceInfoType:protected] => Google\Service\AndroidPublisher\IntroductoryPriceInfo
[introductoryPriceInfoDataType:protected] =>
[kind] => androidpublisher#subscriptionPurchase
[linkedPurchaseToken] =>
[obfuscatedExternalAccountId] =>
[obfuscatedExternalProfileId] =>
[orderId] => GPA.3395-9780-7664-43773..8
[paymentState] => 1
[priceAmountMicros] => 1990000
[priceChangeType:protected] => Google\Service\AndroidPublisher\SubscriptionPriceChange
[priceChangeDataType:protected] =>
[priceCurrencyCode] => USD
[profileId] =>
[profileName] =>
[promotionCode] =>
[promotionType] =>
[purchaseType] =>
[startTimeMillis] => 1751299697255
[userCancellationTimeMillis] =>
)
Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/webhook_lac/Lac-ack-google-pubsub-log-cron.php on line 188
CUSTOMER GOOGLE =
CUSTOMER WEBHOOK = 37272
GPAY GOOGLE = GPA.3395-9780-7664-43773..8
GPAY WEBHHOK = GPA.3395-9780-7664-43773..7
ORDER GOOGLE =
ORDER WEBHOOK = 5159
Google Amount = 1.99