We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19316ac commit 44f4cd6Copy full SHA for 44f4cd6
lightning-paywall.php
@@ -71,7 +71,7 @@ public function ajax_make_invoice() {
71
'currency' => $paywall->currency,
72
'amount' => $paywall->amount,
73
'description' => get_bloginfo('name') . ': pay to continue reading ' . get_the_title($post_id),
74
- 'metadata' => [ 'post_id' => $post_id ]
+ 'metadata' => [ 'source' => 'wordpress-lightning-paywall', 'post_id' => $post_id, 'url' => get_permalink($post_id) ]
75
]);
76
77
wp_send_json($invoice->id, 201);
0 commit comments