You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo'<p><strong>NOTICE:</strong> Please set your public key in <a href="' . esc_url(admin_url('admin.php?page=paybutton-paywall')) . '">Paywall Settings</a>.</p>';
323
+
echo'<p><strong>NOTICE:</strong> Please set your public key in
and copy your public key from the <a href="https://paybutton.org/account" target="_blank" rel="noopener noreferrer">account page</a> and paste it in the Public Key field above.
255
-
</p>
256
-
<p>
257
-
2. <a href="https://paybutton.org/buttons" target="_blank" rel="noopener noreferrer">Create a button</a>
258
-
for your paywall receiving wallet address.
259
-
</p>
260
-
<p>
261
-
3. Scroll down on the buttons page to the section <em>"When a Payment is Received..."</em>.
262
-
</p>
263
-
<p>
264
-
4. In the <em>URL</em> field, paste the following:
5. In the <em>Post Data</em> field, paste the following code as is:
269
-
</p>
270
-
<pre class="pre-box">
271
-
{
272
-
"signature": <signature>,
273
-
"post_id": <opReturn>,
274
-
"tx_hash": <txId>,
275
-
"tx_amount": <amount>,
276
-
"tx_timestamp": <timestamp>,
277
-
"user_address": <inputAddresses>,
278
-
"value": <value>,
279
-
"currency": <currency>
280
-
}</pre>
281
-
<p>
282
-
6. Save your button settings after pasting these values, and you're all set!
283
-
</p>
284
-
<p>
285
-
<strong>Note:</strong> Enabling this feature is required as it improves payment reliability, leveraging secure server-to-server messaging to record paywall and login transactions to your database.
0 commit comments