소스 검색

Change PM redirect links

master
Immanuel Onyeka 3 년 전
부모
커밋
8bf2bcc1b6
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +1
    -1
      app/Http/Controllers/Supply.php
  2. +2
    -2
      resources/js/panel/credits.vue

+ 1
- 1
app/Http/Controllers/Supply.php 파일 보기

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


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


//store order information here //store order information here


+ 2
- 2
resources/js/panel/credits.vue 파일 보기

@@ -147,10 +147,10 @@ function payPm() {
form.appendChild(this.makeInput('STATUS_URL', form.appendChild(this.makeInput('STATUS_URL',
'https://trendplays.com/hooks/pm-transaction')) 'https://trendplays.com/hooks/pm-transaction'))
form.appendChild(this.makeInput('PAYMENT_URL', 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('PAYMENT_URL_METHOD', 'POST'))
form.appendChild(this.makeInput('NOPAYMENT_URL', 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('NOPAYMENT_URL_METHOD', 'GET'))
form.appendChild(this.makeInput('SUGGESTED_MEMO', data.description)) form.appendChild(this.makeInput('SUGGESTED_MEMO', data.description))
form.appendChild(this.makeInput('SUGGESTED_MEMO_NOCHANGE', true)) form.appendChild(this.makeInput('SUGGESTED_MEMO_NOCHANGE', true))


||||||
x
 
000:0
불러오는 중...
취소
저장