Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /wp-smartpay-edd/includes/gateways/paddle/paddle.php
- https://a.cl.ly/d5u1yy4J
- if (true == $verify_signature['success']) {
- $payment_object = new \EDD_Payment($payment_id);
- $payment_object->address = [
- // 'line1' => '',
- // 'line2' => '',
- // 'zip' => '',
- 'country' => ($web_hook_data['p_country'] ?? ''),
- // 'state' => ''
- ];
- $payment_object->save();
- /wp-smartpay-edd/includes/gateways/paddle/recurring-paddle.php
- https://a.cl.ly/6qu8NNQL
- $edd_payment = new \EDD_Payment($parent_payment_id);
- $edd_payment->address = [
- 'country' => ($web_hook_data['country'] ?? '')
- ];
- $edd_payment->save();
Add Comment
Please, Sign In to add comment