Browse Source

Change PM redirect links

master
Immanuel Onyeka 3 years ago
parent
commit
8bf2bcc1b6
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      app/Http/Controllers/Supply.php
  2. +2
    -2
      resources/js/panel/credits.vue

+ 1
- 1
app/Http/Controllers/Supply.php View File

@@ -140,7 +140,7 @@ class Supply extends Controller

//This should log the error for later reporting
if (array_key_exists('error', $response)){
return
return;
}

//store order information here


+ 2
- 2
resources/js/panel/credits.vue View File

@@ -147,10 +147,10 @@ function payPm() {
form.appendChild(this.makeInput('STATUS_URL',
'https://trendplays.com/hooks/pm-transaction'))
form.appendChild(this.makeInput('PAYMENT_URL',
'https://trendplays.com/panel/pm-complete'))
'https://trendplays.com/panel#transaction-complete'))
form.appendChild(this.makeInput('PAYMENT_URL_METHOD', 'POST'))
form.appendChild(this.makeInput('NOPAYMENT_URL',
'https://trendplays.com/panel/pm-fail'))
'https://trendplays.com/panel#transaction-failed'))
form.appendChild(this.makeInput('NOPAYMENT_URL_METHOD', 'GET'))
form.appendChild(this.makeInput('SUGGESTED_MEMO', data.description))
form.appendChild(this.makeInput('SUGGESTED_MEMO_NOCHANGE', true))


Loading…
Cancel
Save